Home
last modified time | relevance | path

Searched refs:clSVMAlloc (Results 1 – 25 of 33) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/SVM/
Dtest_fine_grain_sync_buffers.cpp65 …cl_uint *pInputImage = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_ONLY | CL_MEM_SVM_FINE_GRA… in test_svm_fine_grain_sync_buffers()
66 …cl_uint *pNumTargetsFound = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRA… in test_svm_fine_grain_sync_buffers()
67 …cl_int *pTargetLocations = (cl_int* ) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRA… in test_svm_fine_grain_sync_buffers()
Dtest_set_kernel_exec_info_svm_ptrs.cpp66 int* pA = (int*) clSVMAlloc(c, CL_MEM_READ_WRITE, size, 0); in test_svm_set_kernel_exec_info_svm_ptrs()
67 int* pB = (int*) clSVMAlloc(c, CL_MEM_READ_WRITE, size, 0); in test_svm_set_kernel_exec_info_svm_ptrs()
68 int* pC = (int*) clSVMAlloc(c, CL_MEM_READ_WRITE, size, 0); in test_svm_set_kernel_exec_info_svm_ptrs()
69 BufPtrs* pBuf = (BufPtrs*) clSVMAlloc(c, CL_MEM_READ_WRITE, sizeof(BufPtrs), 0); in test_svm_set_kernel_exec_info_svm_ptrs()
Dtest_shared_address_space_fine_grain_buffers.cpp86 …Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFER, sizeo… in test_svm_shared_address_space_fine_grain_buffers()
89 …size_t *pAllocator = (size_t*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFE… in test_svm_shared_address_space_fine_grain_buffers()
92 …cl_int *pNumCorrect = (cl_int*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFF… in test_svm_shared_address_space_fine_grain_buffers()
Dtest_fine_grain_memory_consistency.cpp71 …cl_uint *pInputImage = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_ONLY | CL_MEM_SVM_FINE_GRAIN_BU… in launch_kernels_and_verify()
72 …BinNode *pNodes = (BinNode*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BU… in launch_kernels_and_verify()
73 …cl_int *pNumNodes = (cl_int*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN… in launch_kernels_and_verify()
Dtest_pointer_passing.cpp53 …cl_uchar *pbuf_svm_alloc = (cl_uchar*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(cl_uchar)*buf… in test_svm_pointer_passing()
56 pNumCorrect = (cl_int*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(cl_int), 0); in test_svm_pointer_passing()
Dtest_byte_granularity.cpp75 …cl_char *pA = (cl_char*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFER, siz… in test_svm_byte_granularity()
80 …error_counts[i] = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFER,… in test_svm_byte_granularity()
Dtest_enqueue_api.cpp149 cl_uchar *srcBuffer = (cl_uchar *)clSVMAlloc(context, CL_MEM_READ_WRITE, data_size, 0); in test_svm_enqueue_api()
150 cl_uchar *dstBuffer = (cl_uchar *)clSVMAlloc(context, CL_MEM_READ_WRITE, data_size, 0); in test_svm_enqueue_api()
274 …for(size_t i = 0; i < numSVMBuffers; ++i) buffers[i] = clSVMAlloc(context, CL_MEM_READ_WRITE, elem… in test_svm_enqueue_api()
Dtest_cross_buffer_pointers.cpp152 …Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0); in test_svm_cross_buffer_pointers_coarse_grain()
155 …Node* pNodes2 = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0… in test_svm_cross_buffer_pointers_coarse_grain()
Dtest_migrate.cpp120 char* asvm = (char*)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate()
126 char* bsvm = (char *)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate()
133 char* csvm = (char *)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate()
Dtest_shared_sub_buffers.cpp151 Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, nodes_bufsize, 0); in test_svm_shared_sub_buffers()
152 Node* pNodes2 = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, nodes_bufsize, 0); in test_svm_shared_sub_buffers()
Dtest_allocate_shared_buffer.cpp74 cl_char *pBufData1 = (cl_char*) clSVMAlloc(context, flag_set[i], size, 0); in test_svm_allocate_shared_buffer()
Dtest_shared_address_space_coarse_grain.cpp177 …Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0); in shared_address_space_coarse_grain()
/external/mesa3d/src/gallium/frontends/clover/api/
Ddispatch.cpp153 clSVMAlloc,
Dplatform.cpp192 { "clSVMAllocARM", reinterpret_cast<void *>(clSVMAlloc) },
Dmemory.cpp436 clSVMAlloc(cl_context d_ctx, in clSVMAlloc() function
/external/angle/src/libOpenCL/
DlibOpenCL_autogen.map119 clSVMAlloc;
DlibOpenCL_autogen.cpp937 void *CL_API_CALL clSVMAlloc(cl_context context, in clSVMAlloc() function
942 return cl::GetDispatch().clSVMAlloc(context, flags, size, alignment); in clSVMAlloc()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dopencl_wrapper.cc147 LoadFunction(clSVMAlloc); in LoadOpenCLFunctions()
265 PFN_clSVMAlloc clSVMAlloc; in LoadOpenCLFunctions() variable
Dopencl_wrapper.h552 extern PFN_clSVMAlloc clSVMAlloc;
/external/angle/src/libGLESv2/
Dcl_dispatch_table.cpp164 cl::clSVMAlloc,
Dproc_table_cl_autogen.cpp122 {"clSVMAlloc", P(::cl::clSVMAlloc)}, in GetProcTable()
/external/OpenCL-CTS/test_conformance/generic_address_space/
Dadvanced_tests.cpp170 ptr = clSVMAlloc(context, CL_MEM_READ_WRITE, bufferSize, 0); in ExecuteSubcase()
173 … ptr = clSVMAlloc(context, CL_MEM_SVM_FINE_GRAIN_BUFFER | CL_MEM_READ_WRITE, bufferSize, 0); in ExecuteSubcase()
179 …ptr = clSVMAlloc(context, CL_MEM_SVM_FINE_GRAIN_BUFFER | CL_MEM_SVM_ATOMICS | CL_MEM_READ_WRITE, b… in ExecuteSubcase()
/external/OpenCL-CTS/test_conformance/api/
Dtest_api_consistency.cpp71 void* ptr0 = clSVMAlloc(context, CL_MEM_READ_WRITE, allocSize, 0); in test_consistency_svm()
72 void* ptr1 = clSVMAlloc(context, CL_MEM_READ_WRITE, allocSize, 0); in test_consistency_svm()
/external/OpenCL-CTS/test_conformance/c11_atomics/
Dcommon.h1081 …svmAtomicBuffer = (HostAtomicType*)clSVMAlloc(context, CL_MEM_SVM_FINE_GRAIN_BUFFER | CL_MEM_SVM_A… in ExecuteSingleTest()
1107 …svmDataBuffer = (HostDataType*)clSVMAlloc(context, CL_MEM_SVM_FINE_GRAIN_BUFFER | (SVMDataBufferAl… in ExecuteSingleTest()
/external/angle/src/libANGLE/renderer/cl/
DCLPlatformCL.cpp268 mNative->getDispatch().clSVMAlloc == nullptr || in createInfo()

12