Minor fix: un/signed int comparison warning
This commit is contained in:
parent
d551c9da3b
commit
f17539ac14
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ OpenCLContext::OpenCLContext() : context_(nullptr), queue_(nullptr) {
|
|||
}
|
||||
|
||||
bool success = false;
|
||||
for (auto i = 0; i < num_platforms; ++i) {
|
||||
for (cl_uint i = 0; i < num_platforms; ++i) {
|
||||
cl_context_properties context_properties[] = {
|
||||
CL_CONTEXT_PLATFORM,
|
||||
reinterpret_cast<cl_context_properties>(platform_ids[i]), 0};
|
||||
|
|
Loading…
Reference in a new issue