OpenCL 108 python_bindings/python/Expr.cpp .value("OpenCL", h::DeviceAPI::OpenCL) OpenCL 112 python_bindings/python/Target.cpp .value("OpenCL", Target::Feature::OpenCL) OpenCL 208 src/CodeGen_C.cpp if (target.has_feature(Target::OpenCL)) { OpenCL 114 src/CodeGen_GPU_Host.cpp if (target.has_feature(Target::OpenCL)) { OpenCL 116 src/CodeGen_GPU_Host.cpp cgdev[DeviceAPI::OpenCL] = new CodeGen_OpenCL_Dev(target); OpenCL 277 src/CodeGen_LLVM.cpp Target::OpenCL, OpenCL 65 src/DeviceInterface.cpp } else if (d == DeviceAPI::OpenCL) { OpenCL 87 src/DeviceInterface.cpp } else if (target.has_feature(Target::OpenCL)) { OpenCL 88 src/DeviceInterface.cpp return DeviceAPI::OpenCL; OpenCL 207 src/DeviceInterface.cpp Target t = get_jit_target_from_environment().with_feature(Target::OpenCL); OpenCL 208 src/DeviceInterface.cpp return get_device_interface_for_device_api(DeviceAPI::OpenCL, t); OpenCL 311 src/Expr.h OpenCL, OpenCL 324 src/Expr.h DeviceAPI::OpenCL, OpenCL 689 src/FuseGPUThreadLoops.cpp (op->device_api == DeviceAPI::CUDA) || (op->device_api == DeviceAPI::OpenCL) || OpenCL 79 src/IRPrinter.cpp case DeviceAPI::OpenCL: OpenCL 32 src/InjectHostDevBufferCopies.cpp } else if (target.has_feature(Target::OpenCL)) { OpenCL 33 src/InjectHostDevBufferCopies.cpp return DeviceAPI::OpenCL; OpenCL 196 src/InjectHostDevBufferCopies.cpp case DeviceAPI::OpenCL: OpenCL 647 src/JITModule.cpp one_gpu.set_feature(Target::OpenCL, false); OpenCL 656 src/JITModule.cpp case OpenCL: OpenCL 657 src/JITModule.cpp one_gpu.set_feature(Target::OpenCL); OpenCL 788 src/JITModule.cpp if (target.has_feature(Target::OpenCL)) { OpenCL 789 src/JITModule.cpp JITModule m = make_module(for_module, target, OpenCL, result, create); OpenCL 824 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::OpenCL)) { OpenCL 238 src/Target.cpp {"opencl", Target::OpenCL}, OpenCL 492 src/Target.cpp bad |= has_feature(Target::OpenCL); OpenCL 516 src/Target.cpp case DeviceAPI::OpenCL: return Target::OpenCL; OpenCL 176 src/Target.h return has_feature(CUDA) || has_feature(OpenCL) || has_feature(Metal); OpenCL 187 src/Target.h (!has_feature(Target::OpenCL) || has_feature(Target::CLDoubles)); OpenCL 89 src/runtime/opencl.cpp using namespace Halide::Runtime::Internal::OpenCL; OpenCL 16 test/correctness/gpu_free_sync.cpp if (t.has_feature(Target::OpenCL) || OpenCL 16 test/correctness/gpu_jit_explicit_copy_to_device.cpp for (DeviceAPI d : {DeviceAPI::Default_GPU, DeviceAPI::CUDA, DeviceAPI::OpenCL}) { OpenCL 18 test/correctness/gpu_multi_device.cpp if (jit_target.has_feature(Target::OpenCL)) { OpenCL 21 test/correctness/gpu_multi_device.cpp .gpu_tile(x, y, xi, yi, 8, 8, TailStrategy::Auto, DeviceAPI::OpenCL); OpenCL 8 test/correctness/gpu_vectorized_shared_memory.cpp if (get_jit_target_from_environment().has_feature(Target::OpenCL)) { OpenCL 77 test/correctness/load_library.cpp Target target = get_jit_target_from_environment().with_feature(Target::OpenCL); OpenCL 78 test/correctness/load_library.cpp f.gpu_tile(x, y, xi, yi, 8, 8, TailStrategy::Auto, DeviceAPI::OpenCL); OpenCL 14 test/correctness/newtons_method.cpp if (target.has_feature(Target::OpenCL) && OpenCL 49 test/correctness/target.cpp Target::CUDA, Target::OpenCL, Target::OpenGL, Target::OpenGLCompute, OpenCL 39 test/correctness/vector_cast.cpp if (target.has_feature(Target::OpenCL) && OpenCL 183 tutorial/lesson_12_using_the_gpu.cpp target.set_feature(Target::OpenCL);