• Home
  • Raw
  • Download

Lines Matching refs:gContext

108 static cl_context        gContext;  variable
583 return doTest(gQueue, gContext, TYPE_INT, 0, deviceID); in test_int_0()
587 return doTest(gQueue, gContext, TYPE_INT, 1, deviceID); in test_int_1()
591 return doTest(gQueue, gContext, TYPE_INT, 2, deviceID); in test_int_2()
595 return doTest(gQueue, gContext, TYPE_INT, 3, deviceID); in test_int_3()
599 return doTest(gQueue, gContext, TYPE_INT, 4, deviceID); in test_int_4()
603 return doTest(gQueue, gContext, TYPE_INT, 5, deviceID); in test_int_5()
607 return doTest(gQueue, gContext, TYPE_INT, 6, deviceID); in test_int_6()
611 return doTest(gQueue, gContext, TYPE_INT, 7, deviceID); in test_int_7()
615 return doTest(gQueue, gContext, TYPE_INT, 8, deviceID); in test_int_8()
621 return doTest(gQueue, gContext, TYPE_FLOAT, 0, deviceID); in test_float_0()
625 return doTest(gQueue, gContext, TYPE_FLOAT, 1, deviceID); in test_float_1()
629 return doTest(gQueue, gContext, TYPE_FLOAT, 2, deviceID); in test_float_2()
633 return doTest(gQueue, gContext, TYPE_FLOAT, 3, deviceID); in test_float_3()
637 return doTest(gQueue, gContext, TYPE_FLOAT, 4, deviceID); in test_float_4()
641 return doTest(gQueue, gContext, TYPE_FLOAT, 5, deviceID); in test_float_5()
645 return doTest(gQueue, gContext, TYPE_FLOAT, 6, deviceID); in test_float_6()
649 return doTest(gQueue, gContext, TYPE_FLOAT, 7, deviceID); in test_float_7()
653 return doTest(gQueue, gContext, TYPE_FLOAT, 8, deviceID); in test_float_8()
657 return doTest(gQueue, gContext, TYPE_FLOAT, 9, deviceID); in test_float_9()
661 return doTest(gQueue, gContext, TYPE_FLOAT, 10, deviceID); in test_float_10()
665 return doTest(gQueue, gContext, TYPE_FLOAT, 11, deviceID); in test_float_11()
669 return doTest(gQueue, gContext, TYPE_FLOAT, 12, deviceID); in test_float_12()
673 return doTest(gQueue, gContext, TYPE_FLOAT, 13, deviceID); in test_float_13()
677 return doTest(gQueue, gContext, TYPE_FLOAT, 14, deviceID); in test_float_14()
681 return doTest(gQueue, gContext, TYPE_FLOAT, 15, deviceID); in test_float_15()
685 return doTest(gQueue, gContext, TYPE_FLOAT, 16, deviceID); in test_float_16()
689 return doTest(gQueue, gContext, TYPE_FLOAT, 17, deviceID); in test_float_17()
695 return doTest(gQueue, gContext, TYPE_FLOAT_LIMITS, 0, deviceID); in test_float_limits_0()
699 return doTest(gQueue, gContext, TYPE_FLOAT_LIMITS, 1, deviceID); in test_float_limits_1()
703 return doTest(gQueue, gContext, TYPE_FLOAT_LIMITS, 2, deviceID); in test_float_limits_2()
709 return doTest(gQueue, gContext, TYPE_OCTAL, 0, deviceID); in test_octal_0()
713 return doTest(gQueue, gContext, TYPE_OCTAL, 1, deviceID); in test_octal_1()
717 return doTest(gQueue, gContext, TYPE_OCTAL, 2, deviceID); in test_octal_2()
721 return doTest(gQueue, gContext, TYPE_OCTAL, 3, deviceID); in test_octal_3()
727 return doTest(gQueue, gContext, TYPE_UNSIGNED, 0, deviceID); in test_unsigned_0()
731 return doTest(gQueue, gContext, TYPE_UNSIGNED, 1, deviceID); in test_unsigned_1()
737 return doTest(gQueue, gContext, TYPE_HEXADEC, 0, deviceID); in test_hexadecimal_0()
741 return doTest(gQueue, gContext, TYPE_HEXADEC, 1, deviceID); in test_hexadecimal_1()
745 return doTest(gQueue, gContext, TYPE_HEXADEC, 2, deviceID); in test_hexadecimal_2()
749 return doTest(gQueue, gContext, TYPE_HEXADEC, 3, deviceID); in test_hexadecimal_3()
753 return doTest(gQueue, gContext, TYPE_HEXADEC, 4, deviceID); in test_hexadecimal_4()
759 return doTest(gQueue, gContext, TYPE_CHAR, 0, deviceID); in test_char_0()
763 return doTest(gQueue, gContext, TYPE_CHAR, 1, deviceID); in test_char_1()
767 return doTest(gQueue, gContext, TYPE_CHAR, 2, deviceID); in test_char_2()
773 return doTest(gQueue, gContext, TYPE_STRING, 0, deviceID); in test_string_0()
777 return doTest(gQueue, gContext, TYPE_STRING, 1, deviceID); in test_string_1()
781 return doTest(gQueue, gContext, TYPE_STRING, 2, deviceID); in test_string_2()
787 return doTest(gQueue, gContext, TYPE_VECTOR, 0, deviceID); in test_vector_0()
791 return doTest(gQueue, gContext, TYPE_VECTOR, 1, deviceID); in test_vector_1()
795 return doTest(gQueue, gContext, TYPE_VECTOR, 2, deviceID); in test_vector_2()
799 return doTest(gQueue, gContext, TYPE_VECTOR, 3, deviceID); in test_vector_3()
803 return doTest(gQueue, gContext, TYPE_VECTOR, 4, deviceID); in test_vector_4()
809 return doTest(gQueue, gContext, TYPE_ADDRESS_SPACE, 0, deviceID); in test_address_space_0()
813 return doTest(gQueue, gContext, TYPE_ADDRESS_SPACE, 1, deviceID); in test_address_space_1()
817 return doTest(gQueue, gContext, TYPE_ADDRESS_SPACE, 2, deviceID); in test_address_space_2()
821 return doTest(gQueue, gContext, TYPE_ADDRESS_SPACE, 3, deviceID); in test_address_space_3()
825 return doTest(gQueue, gContext, TYPE_ADDRESS_SPACE, 4, deviceID); in test_address_space_4()
967 if(clReleaseContext(gContext)!= CL_SUCCESS) in main()
1053 gContext = clCreateContext(props, 1, &device, notify_callback, NULL, NULL); in InitCL()
1054 checkNull(gContext, "clCreateContext"); in InitCL()
1056 gQueue = clCreateCommandQueue(gContext, device, 0, NULL); in InitCL()