Home
last modified time | relevance | path

Searched refs:CLSymbols (Results 1 – 8 of 8) sorted by relevance

/external/ComputeLibrary/src/core/CL/
DOpenCL.cpp37 CLSymbols::CLSymbols() noexcept(false) in CLSymbols() function in arm_compute::CLSymbols
45 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 …]
/external/ComputeLibrary/tests/framework/instruments/
DOpenCLMemoryUsage.cpp47 …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()
122CLSymbols::get().clSVMAlloc_ptr = [this](cl_context context, cl_svm_mem_flags flags, size_t size, … in test_start()
[all …]
DOpenCLTimer.cpp100 _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()
/external/armnn/src/backends/cl/
DOpenClTimer.hpp45 using CLSymbols = arm_compute::CLSymbols; typedef in armnn::OpenClTimer
47 using ClEnqueueFunc = decltype(CLSymbols::clEnqueueNDRangeKernel_ptr);
DOpenClTimer.cpp79 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()
/external/ComputeLibrary/arm_compute/core/CL/
DOpenCL.h61 class CLSymbols final
65 CLSymbols() noexcept(false);
75 static CLSymbols &get();
/external/ComputeLibrary/src/runtime/CL/
DCLTuner.cpp158 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()
/external/ComputeLibrary/arm_compute/runtime/CL/
DCLRuntimeContext.h60 CLSymbols _symbols{};