mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-24 15:59:03 +00:00
Change arg type to unsigned int from signed int (#1031)
This commit is contained in:
committed by
GitHub
parent
83cc521e17
commit
8fa24b8a72
@@ -888,7 +888,7 @@ std::string CBasicTest<HostAtomicType, HostDataType>::KernelCode(cl_uint maxNumD
|
|||||||
else
|
else
|
||||||
// global atomics declared in program scope
|
// global atomics declared in program scope
|
||||||
code += R"(
|
code += R"(
|
||||||
if(atomic_fetch_add_explicit(&finishedThreads, 1,
|
if(atomic_fetch_add_explicit(&finishedThreads, 1u,
|
||||||
memory_order_relaxed,
|
memory_order_relaxed,
|
||||||
memory_scope_work_group)
|
memory_scope_work_group)
|
||||||
== get_global_size(0)-1) // last finished thread
|
== get_global_size(0)-1) // last finished thread
|
||||||
|
|||||||
Reference in New Issue
Block a user