mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 18:14:20 +00:00
Add vector type hint to diablo kernel.
This commit is contained in:
parent
db873ba202
commit
5fd7d462ab
@ -44,7 +44,10 @@
|
|||||||
#define ZR26(n) ((Zrotr((n), 26) ^ Zrotr((n), 21) ^ Zrotr((n), 7)))
|
#define ZR26(n) ((Zrotr((n), 26) ^ Zrotr((n), 21) ^ Zrotr((n), 7)))
|
||||||
#define ZR30(n) ((Zrotr((n), 30) ^ Zrotr((n), 19) ^ Zrotr((n), 10)))
|
#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 z base,
|
||||||
const uint PreVal4_state0, const uint PreVal4_state0_k7,
|
const uint PreVal4_state0, const uint PreVal4_state0_k7,
|
||||||
const uint PreVal4_T1,
|
const uint PreVal4_T1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user