| 111 | return _compile_context.is_wbsm_supported(); |
| 112 | } |
| 113 | std::pair<std::string, bool> CLKernelLibrary::get_program(const std::string &program_name) const |
| 114 | { |
| 115 | auto program_info = opencl::ClKernelLibrary::get().program(program_name); |
| 116 | return std::make_pair(std::move(program_info.program), program_info.is_binary); |
| 117 | } |
| 118 | size_t CLKernelLibrary::max_local_workgroup_size(const cl::Kernel &kernel) const |
| 119 | { |
| 120 | return _compile_context.max_local_workgroup_size(kernel); |