Commit 456bb6ef by Christian Kern

Fix remaining VS11 warnings

parent ea832ee9
...@@ -281,8 +281,8 @@ static mtapi_task_hndl_t embb_mtapi_task_start( ...@@ -281,8 +281,8 @@ static mtapi_task_hndl_t embb_mtapi_task_start(
for (mtapi_uint_t kk = 0; kk < task->attributes.num_instances; for (mtapi_uint_t kk = 0; kk < task->attributes.num_instances;
kk++) { kk++) {
was_scheduled = was_scheduled & was_scheduled = (mtapi_boolean_t)(was_scheduled &
embb_mtapi_scheduler_schedule_task(scheduler, task, kk); embb_mtapi_scheduler_schedule_task(scheduler, task, kk));
} }
} }
......
...@@ -270,7 +270,6 @@ void mtapi_opencl_plugin_initialize( ...@@ -270,7 +270,6 @@ void mtapi_opencl_plugin_initialize(
NULL, NULL, &err); NULL, NULL, &err);
} }
if (CL_SUCCESS == err) { if (CL_SUCCESS == err) {
size_t work_group_size;
err = clGetDeviceInfo(plugin->device_id, CL_DEVICE_MAX_WORK_GROUP_SIZE, err = clGetDeviceInfo(plugin->device_id, CL_DEVICE_MAX_WORK_GROUP_SIZE,
sizeof(size_t), &plugin->work_group_size, NULL); sizeof(size_t), &plugin->work_group_size, NULL);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment