1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Add vector type hint to phatk kernel.

This commit is contained in:
Con Kolivas 2012-03-29 21:14:23 +11:00
parent 88ff55e70e
commit 27a6f7a81b

View File

@ -152,8 +152,9 @@ __constant uint H[8] = {
//#define WORKSIZE 256
#define MAXBUFFERS (4095)
__kernel
__attribute__((reqd_work_group_size(WORKSIZE, 1, 1)))
__kernel
__attribute__((vec_type_hint(u)))
__attribute__((reqd_work_group_size(WORKSIZE, 1, 1)))
void search( const uint state0, const uint state1, const uint state2, const uint state3,
const uint state4, const uint state5, const uint state6, const uint state7,
const uint B1, const uint C1, const uint D1,