Home
last modified time | relevance | path

Searched refs:num_correct (Results 1 – 7 of 7) sorted by relevance

/external/OpenCL-CTS/test_conformance/SVM/
Dtest_shared_address_space_coarse_grain.cpp116 cl_int verify_linked_lists_on_device(int vi, cl_command_queue cmdq,cl_mem num_correct, cl_kernel ke… in verify_linked_lists_on_device() argument
122 …cl_int *pNumCorrect = (cl_int*) clEnqueueMapBuffer(cmdq, num_correct, CL_TRUE, CL_MAP_READ | CL_MA… in verify_linked_lists_on_device()
127 error = clEnqueueUnmapMemObject(cmdq, num_correct, pNumCorrect, 0,NULL,NULL); in verify_linked_lists_on_device()
133 …pNumCorrect = (cl_int*) clEnqueueMapBuffer(cmdq, num_correct, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE,… in verify_linked_lists_on_device()
136 error = clEnqueueUnmapMemObject(cmdq, num_correct, pNumCorrect, 0,NULL,NULL); in verify_linked_lists_on_device()
222 …clMemWrapper num_correct = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(cl_int), NULL, &error… in shared_address_space_coarse_grain() local
234 error |= clSetKernelArg(kernel_verify_lists, 1, sizeof(void*), (void *) &num_correct); in shared_address_space_coarse_grain()
262 …error = verify_linked_lists_on_device(vi, queues[vi], num_correct, kernel_verify_lists, ListLength… in shared_address_space_coarse_grain()
Dtest_pointer_passing.cpp62 …clMemWrapper num_correct = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, sizeof(cl_int), pNumCorrec… in test_svm_pointer_passing() local
65 error = clSetKernelArg(kernel_verify_char, 1, sizeof(void*), (void *) &num_correct); in test_svm_pointer_passing()
92 …pNumCorrect = (cl_int*) clEnqueueMapBuffer(cmdq, num_correct, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE,… in test_svm_pointer_passing()
95 error = clEnqueueUnmapMemObject(cmdq, num_correct, pNumCorrect, 0,NULL,NULL); in test_svm_pointer_passing()
Dtest_cross_buffer_pointers.cpp169 …clMemWrapper num_correct = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(cl_int), NULL, &error… in test_svm_cross_buffer_pointers_coarse_grain() local
180 error |= clSetKernelArg(kernel_verify_lists, 2, sizeof(void*), (void *) &num_correct); in test_svm_cross_buffer_pointers_coarse_grain()
208 …error = verify_linked_lists_on_device(vi, queues[vi], num_correct, kernel_verify_lists, ListLength… in test_svm_cross_buffer_pointers_coarse_grain()
Dtest_shared_sub_buffers.cpp189 …clMemWrapper num_correct = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(cl_int), NULL, &error… in test_svm_shared_sub_buffers() local
203 error |= clSetKernelArg(kernel_verify_lists, 4, sizeof(void*), (void *) &num_correct); in test_svm_shared_sub_buffers()
231 …error = verify_linked_lists_on_device(vi, queues[vi], num_correct, kernel_verify_lists, ListLength… in test_svm_shared_sub_buffers()
Dcommon.h80 extern cl_int verify_linked_lists_on_device(int qi, cl_command_queue q, cl_mem num_correct, …
/external/tensorflow/tensorflow/lite/tutorials/
Dmnist_tflite.py75 num_correct, total = 0, 0
80 num_correct += 1
83 (total, float(num_correct) / float(total)))
/external/tensorflow/tensorflow/lite/micro/examples/image_recognition_experimental/
Dimage_recognition_test.cc66 int num_correct = 0; in TF_LITE_MICRO_TEST() local
92 num_correct++; in TF_LITE_MICRO_TEST()
96 TF_LITE_MICRO_EXPECT_EQ(6, num_correct); in TF_LITE_MICRO_TEST()