我想跳到有我的ARM G72支持的openCL 200。但是我发现cl.hpp (旧的openCL;))和cl2.hpp有很大的不同。我在使用CL_HPP_TARGET_OPENCL_VERSION 200时收到了很多错误信息 error: 'CL_DEVICE_QUEUE_ON_HOST_PROPERTIES' was not declaredCL_HPP_DECLARE_PARAM_TRAITS_'
note: in expansion of macro 'CL_HPP_PARA
我有一个内核源代码,它运行在我的PC上的G970上,但不会在我的2015年初的MacBook pro上用Iris 6100 1536 my图形编译。device = platform.get_devices()[1] # Get the GPU IDqueue = cl.CommandQueue(ctx) # Create a command queue for the target dev