Commit 26e28eb5 authored by David Anderson's avatar David Anderson

Missed a couple of memset()s

parent 219a5405
......@@ -320,7 +320,7 @@ void COPROCS::get_opencl(
}
for (device_index=0; device_index<num_devices; ++device_index) {
memset(&prop, 0, sizeof(prop));
prop.clear();
prop.device_id = devices[device_index];
strlcpy(
prop.opencl_platform_version, platform_version,
......@@ -406,7 +406,7 @@ void COPROCS::get_opencl(
}
for (device_index=0; device_index<num_devices; ++device_index) {
memset(&prop, 0, sizeof(prop));
prop.clear();
prop.device_id = devices[device_index];
strlcpy(
prop.opencl_platform_version, platform_version,
......
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 to comment