Merge pull request #2073 from matrix/opencl_compiler_warning_1
fix OpenCL compiler warning
This commit is contained in:
commit
f301db9a3f
@ -1425,7 +1425,7 @@ DECLSPEC float hc_get_entropy (const u32 *buf, const int elems)
|
||||
{
|
||||
const int length = elems * 4;
|
||||
|
||||
float entropy = 0.0;
|
||||
float entropy = 0.0f;
|
||||
|
||||
#ifdef _unroll
|
||||
#pragma unroll
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user