khr
  • 2024-12-19OpenCL 编程步骤 2. 获取设备
    clGetDeviceIDs查询支持OpenCL设备列表:cl_intclGetDeviceIDs(cl_platform_idplatform,cl_device_typedevice_type,cl_uintnum_entries,cl_device_id*devices,