Searched refs:CLSymbols (Results 1 – 8 of 8) sorted by relevance
37 CLSymbols::CLSymbols() noexcept(false) in CLSymbols() function in arm_compute::CLSymbols45 CLSymbols &CLSymbols::get() in get()47 static CLSymbols symbols; in get()51 bool CLSymbols::load_default() in load_default()90 bool CLSymbols::load(const std::string &library, bool use_loader) in load()190 CLSymbols::get().load_default(); in opencl_is_available()208 return CLSymbols::get().clBuildProgram_ptr != nullptr; in opencl_is_available()215 arm_compute::CLSymbols::get().load_default(); in clEnqueueMarker()216 auto func = arm_compute::CLSymbols::get().clEnqueueMarker_ptr; in clEnqueueMarker()230 arm_compute::CLSymbols::get().load_default(); in clWaitForEvents()[all …]
47 …teBuffer(CLSymbols::get().clCreateBuffer_ptr), real_clRetainMemObject(CLSymbols::get().clRetainMem… in OpenCLMemoryUsage()48 …real_clSVMAlloc(CLSymbols::get().clSVMAlloc_ptr), real_clSVMFree(CLSymbols::get().clSVMFree_ptr), … in OpenCLMemoryUsage()73 ARM_COMPUTE_ERROR_ON(CLSymbols::get().clCreateBuffer_ptr == nullptr); in test_start()74 CLSymbols::get().clCreateBuffer_ptr = [this]( in test_start()100 ARM_COMPUTE_ERROR_ON(CLSymbols::get().clRetainMemObject_ptr == nullptr); in test_start()101 CLSymbols::get().clRetainMemObject_ptr = [this](cl_mem memobj) in test_start()107 ARM_COMPUTE_ERROR_ON(CLSymbols::get().clReleaseMemObject_ptr == nullptr); in test_start()108 CLSymbols::get().clReleaseMemObject_ptr = [this](cl_mem memobj) in test_start()120 if(CLSymbols::get().clSVMAlloc_ptr != nullptr) in test_start()122 …CLSymbols::get().clSVMAlloc_ptr = [this](cl_context context, cl_svm_mem_flags flags, size_t size, … in test_start()[all …]
100 _real_function = CLSymbols::get().clEnqueueNDRangeKernel_ptr; in test_start()145 CLSymbols::get().clEnqueueNDRangeKernel_ptr = interceptor; in test_start()184 CLSymbols::get().clEnqueueNDRangeKernel_ptr = _real_function; in test_stop()
45 using CLSymbols = arm_compute::CLSymbols; typedef in armnn::OpenClTimer47 using ClEnqueueFunc = decltype(CLSymbols::clEnqueueNDRangeKernel_ptr);
79 m_OriginalEnqueueFunction = CLSymbols::get().clEnqueueNDRangeKernel_ptr; in Start()80 CLSymbols::get().clEnqueueNDRangeKernel_ptr = interceptor; in Start()85 CLSymbols::get().clEnqueueNDRangeKernel_ptr = m_OriginalEnqueueFunction; in Stop()
61 class CLSymbols final65 CLSymbols() noexcept(false);75 static CLSymbols &get();
158 real_clEnqueueNDRangeKernel = CLSymbols::get().clEnqueueNDRangeKernel_ptr; in find_optimal_tuning_params()200 CLSymbols::get().clEnqueueNDRangeKernel_ptr = interceptor; in find_optimal_tuning_params()263 CLSymbols::get().clEnqueueNDRangeKernel_ptr = real_clEnqueueNDRangeKernel; in find_optimal_tuning_params()
60 CLSymbols _symbols{};