Home
last modified time | relevance | path

Searched refs:pNodes2 (Results 1 – 3 of 3) sorted by relevance

/external/OpenCL-CTS/test_conformance/SVM/
Dtest_cross_buffer_pointers.cpp87 …Node *pNodes2 = (Node*) clEnqueueMapBuffer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, s… in create_linked_lists_on_host() local
88 test_error2(error, pNodes2, "clEnqueueMapBuffer failed"); in create_linked_lists_on_host()
94 error = clEnqueueUnmapMemObject(cmdq, nodes2, pNodes2, 0,NULL,NULL); in create_linked_lists_on_host()
110 …Node *pNodes2 = (Node*) clEnqueueMapBuffer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, s… in verify_linked_lists_on_host() local
118 error = clEnqueueUnmapMemObject(cmdq, nodes2, pNodes2, 0,NULL,NULL); in verify_linked_lists_on_host()
155 …Node* pNodes2 = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0… in test_svm_cross_buffer_pointers_coarse_grain() local
161 … = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, sizeof(Node)*ListLength*numLists, pNodes2, &error); in test_svm_cross_buffer_pointers_coarse_grain()
215 clSVMFree(context, pNodes2); in test_svm_cross_buffer_pointers_coarse_grain()
Dtest_shared_sub_buffers.cpp80 …Node *pNodes2 = (Node*) clEnqueueMapBuffer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, s… in create_linked_lists_on_host_sb() local
81 test_error2(error, pNodes2, "clEnqueueMapBuffer failed"); in create_linked_lists_on_host_sb()
87 error = clEnqueueUnmapMemObject(cmdq, nodes2, pNodes2, 0,NULL,NULL); in create_linked_lists_on_host_sb()
103 …Node *pNodes2 = (Node*) clEnqueueMapBuffer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, s… in verify_linked_lists_on_host_sb() local
111 error = clEnqueueUnmapMemObject(cmdq, nodes2, pNodes2, 0,NULL,NULL); in verify_linked_lists_on_host_sb()
152 Node* pNodes2 = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, nodes_bufsize, 0); in test_svm_shared_sub_buffers() local
171 … = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, sizeof(Node)*ListLength*numLists, pNodes2, &error); in test_svm_shared_sub_buffers()
237 clSVMFree(context, pNodes2); in test_svm_shared_sub_buffers()
Dtest_shared_address_space_coarse_grain.cpp19 cl_int create_linked_lists_on_host(cl_command_queue cmdq, cl_mem nodes, Node *pNodes2, cl_int ListL… in create_linked_lists_on_host() argument
33 pNodes = pNodes2; in create_linked_lists_on_host()
34 …error = clEnqueueSVMMap(cmdq, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, pNodes2, sizeof(Node)*ListLengt… in create_linked_lists_on_host()
47 error = clEnqueueSVMUnmap(cmdq, pNodes2, 0, NULL, NULL); in create_linked_lists_on_host()
57 cl_int verify_linked_lists_on_host(int ci, cl_command_queue cmdq, cl_mem nodes, Node *pNodes2, cl_i… in verify_linked_lists_on_host() argument
70 pNodes = pNodes2; in verify_linked_lists_on_host()
71 …error = clEnqueueSVMMap(cmdq, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, pNodes2, sizeof(Node)*ListLengt… in verify_linked_lists_on_host()
87 error = clEnqueueSVMUnmap(cmdq, pNodes2, 0,NULL,NULL); in verify_linked_lists_on_host()