| 390 | size_t getHostMemorySize() { return common::getHostMemorySize(); } |
| 391 | |
| 392 | cl_device_type getDeviceType() { |
| 393 | const cl::Device& device = getDevice(); |
| 394 | cl_device_type type = device.getInfo<CL_DEVICE_TYPE>(); |
| 395 | return type; |
| 396 | } |
| 397 | |
| 398 | bool OpenCLCPUOffload(bool forceOffloadOSX) { |
| 399 | static const bool offloadEnv = getEnvVar("AF_OPENCL_CPU_OFFLOAD") != "0"; |
no test coverage detected