Browse Source

Add vector type hint to diablo kernel.

Con Kolivas 14 years ago
parent
commit
5fd7d462ab
1 changed files with 4 additions and 1 deletions
  1. 4 1
      diablo120222.cl

+ 4 - 1
diablo120222.cl

@@ -44,7 +44,10 @@
 #define ZR26(n) ((Zrotr((n), 26) ^ Zrotr((n), 21) ^ Zrotr((n), 7)))
 #define ZR30(n) ((Zrotr((n), 30) ^ Zrotr((n), 19) ^ Zrotr((n), 10)))
 
-__kernel __attribute__((reqd_work_group_size(WORKSIZE, 1, 1))) void search(
+__kernel
+__attribute__((vec_type_hint(z)))
+__attribute__((reqd_work_group_size(WORKSIZE, 1, 1)))
+void search(
     const z base,
     const uint PreVal4_state0, const uint PreVal4_state0_k7,
     const uint PreVal4_T1,