debug the side of arg 10 in kernel 1 in initalization

This commit is contained in:
gfuse
2021-08-23 18:57:26 +02:00
parent 37a9cff176
commit f9e5887b69
+1 -1
View File
@@ -13,7 +13,7 @@ opencl::opencl(vk::AbstractCamera* cam):cam(cam) {
std::vector<cl::Device> all_devices;
for(auto i:all_platforms){
std::cout << "Find platform number:"<< i.getInfo<CL_PLATFORM_NAME>() << "\n";
i.getDevices(CL_DEVICE_TYPE_CPU, &all_devices);
i.getDevices(CL_DEVICE_TYPE_GPU, &all_devices);
}
if (all_devices.size() == 0){