Home
last modified time | relevance | path

Searched refs:ListLength (Results 1 – 6 of 6) sorted by relevance

/external/OpenCL-CTS/test_conformance/SVM/
Dtest_cross_buffer_pointers.cpp78 …sts_on_host(cl_command_queue cmdq, cl_mem nodes, cl_mem nodes2, cl_int ListLength, size_t numLists… in create_linked_lists_on_host() argument
84 …ffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength*numLists, 0, NUL… in create_linked_lists_on_host()
87 …fer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength*numLists, 0, NUL… in create_linked_lists_on_host()
90 create_linked_lists(pNodes, numLists, ListLength); in create_linked_lists_on_host()
102 …ost(int ci, cl_command_queue cmdq, cl_mem nodes, cl_mem nodes2, cl_int ListLength, size_t numLists… in verify_linked_lists_on_host() argument
108 …ffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength * numLists, 0, N… in verify_linked_lists_on_host()
110 …fer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength * numLists, 0, N… in verify_linked_lists_on_host()
113 error = verify_linked_lists(pNodes, numLists, ListLength); in verify_linked_lists_on_host()
143 cl_int ListLength = 32; in test_svm_cross_buffer_pointers_coarse_grain() local
152 …Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0); in test_svm_cross_buffer_pointers_coarse_grain()
[all …]
Dtest_shared_sub_buffers.cpp71 …_on_host_sb(cl_command_queue cmdq, cl_mem nodes, cl_mem nodes2, cl_int ListLength, size_t numLists… in create_linked_lists_on_host_sb() argument
77 …ffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength*numLists, 0, NUL… in create_linked_lists_on_host_sb()
80 …fer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength*numLists, 0, NUL… in create_linked_lists_on_host_sb()
83 create_linked_lists(pNodes, numLists, ListLength); in create_linked_lists_on_host_sb()
95 …_sb(int ci, cl_command_queue cmdq, cl_mem nodes, cl_mem nodes2, cl_int ListLength, size_t numLists… in verify_linked_lists_on_host_sb() argument
101 …ffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength * numLists, 0, N… in verify_linked_lists_on_host_sb()
103 …fer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength * numLists, 0, N… in verify_linked_lists_on_host_sb()
106 error = verify_linked_lists(pNodes, numLists, ListLength); in verify_linked_lists_on_host_sb()
142 cl_int ListLength = 32; in test_svm_shared_sub_buffers() local
150 size_t nodes_bufsize = sizeof(Node)*ListLength*numLists; in test_svm_shared_sub_buffers()
[all …]
Dtest_shared_address_space_coarse_grain.cpp19 …sts_on_host(cl_command_queue cmdq, cl_mem nodes, Node *pNodes2, cl_int ListLength, size_t numLists… in create_linked_lists_on_host() argument
28 …ffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength*numLists, 0, NUL… in create_linked_lists_on_host()
34 …VMMap(cmdq, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, pNodes2, sizeof(Node)*ListLength*numLists, 0, NUL… in create_linked_lists_on_host()
38 create_linked_lists(pNodes, numLists, ListLength); in create_linked_lists_on_host()
57 …ost(int ci, cl_command_queue cmdq, cl_mem nodes, Node *pNodes2, cl_int ListLength, size_t numLists… in verify_linked_lists_on_host() argument
65 …ffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength * numLists, 0, N… in verify_linked_lists_on_host()
71 …VMMap(cmdq, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, pNodes2, sizeof(Node)*ListLength * numLists, 0, N… in verify_linked_lists_on_host()
77 error = verify_linked_lists(pNodes, numLists, ListLength); in verify_linked_lists_on_host()
116 …d_queue cmdq,cl_mem num_correct, cl_kernel kernel_verify_lists, cl_int ListLength, size_t numLists… in verify_linked_lists_on_device() argument
141 if(correct_count != ListLength * (cl_uint)numLists) in verify_linked_lists_on_device()
[all …]
Dtest_shared_address_space_fine_grain_buffers.cpp35 …_queue cmdq,cl_int* pNumCorrect, cl_kernel kernel_verify_lists, cl_int ListLength, size_t numLists… in verify_linked_lists_on_device_no_map() argument
49 if(correct_count != ListLength * (cl_uint)numLists) in verify_linked_lists_on_device_no_map()
77 cl_int ListLength = 32; in test_svm_shared_address_space_fine_grain_buffers() local
86 …oc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFER, sizeof(Node)*ListLength*numLists, 0); in test_svm_shared_address_space_fine_grain_buffers()
96 error |= clSetKernelArg(kernel_create_lists, 2, sizeof(cl_int), (void *) &ListLength); in test_svm_shared_address_space_fine_grain_buffers()
100 error |= clSetKernelArg(kernel_verify_lists, 2, sizeof(cl_int), (void *) &ListLength); in test_svm_shared_address_space_fine_grain_buffers()
112 create_linked_lists(pNodes, numLists, ListLength); in test_svm_shared_address_space_fine_grain_buffers()
122 error = verify_linked_lists(pNodes, numLists, ListLength); in test_svm_shared_address_space_fine_grain_buffers()
127 …ked_lists_on_device_no_map(vi, queues[vi], pNumCorrect, kernel_verify_lists, ListLength, numLists); in test_svm_shared_address_space_fine_grain_buffers()
Dtest_shared_address_space_fine_grain.cpp36 cl_int ListLength = 32; in test_svm_shared_address_space_fine_grain() local
46 Node* pNodes = (Node*) align_malloc(numLists*ListLength*sizeof(Node),128); in test_svm_shared_address_space_fine_grain()
60 error |= clSetKernelArg(kernel_create_lists, 2, sizeof(cl_int),(void *) &ListLength); in test_svm_shared_address_space_fine_grain()
64 error |= clSetKernelArg(kernel_verify_lists, 2, sizeof(cl_int), (void *) &ListLength); in test_svm_shared_address_space_fine_grain()
76 create_linked_lists(pNodes, numLists, ListLength); in test_svm_shared_address_space_fine_grain()
86 error = verify_linked_lists(pNodes, numLists, ListLength); in test_svm_shared_address_space_fine_grain()
91 …ed_lists_on_device_no_map(vi, queues[vi], pNum_correct, kernel_verify_lists, ListLength, numLists); in test_svm_shared_address_space_fine_grain()
Dcommon.h80 …(int qi, cl_command_queue q, cl_mem num_correct, cl_kernel k, cl_int ListLength, size_t numLists…
82 …(int qi, cl_command_queue q, cl_int *pNum_correct, cl_kernel k, cl_int ListLength, size_t numLists…