projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c22de1
)
add __bfe stub for AMD
author
jsteube
<jens.steube@gmail.com>
Mon, 21 Dec 2015 20:14:16 +0000
(21:14 +0100)
committer
jsteube
<jens.steube@gmail.com>
Mon, 21 Dec 2015 20:14:16 +0000
(21:14 +0100)
OpenCL/types_ocl.c
patch
|
blob
|
history
diff --git
a/OpenCL/types_ocl.c
b/OpenCL/types_ocl.c
index
74d00b9
..
0d58172
100644
(file)
--- a/
OpenCL/types_ocl.c
+++ b/
OpenCL/types_ocl.c
@@
-19,6
+19,10
@@
static inline u64 swap64 (const u64 v)
}
#ifdef IS_AMD
+static inline u32 __bfe (const u32 a, const u32 b, const u32 c)
+{
+ return amd_bfe (a, b, c);
+}
#endif
#ifdef IS_NV
@@
-40,7
+44,6
@@
static inline u32 __bfe (const u32 a, const u32 b, const u32 c)
return r;
}
-
#if CUDA_ARCH >= 350
static inline u32 amd_bytealign (const u32 a, const u32 b, const u32 c)