/external/OpenCL-CTS/test_conformance/spirv_new/ |
D | test_op_vector_times_scalar.cpp | 43 SPIRV_CHECK_ERROR(err, "Failed to create lhs buffer"); in test_vector_times_scalar() 46 SPIRV_CHECK_ERROR(err, "Failed to copy to lhs buffer"); in test_vector_times_scalar() 49 SPIRV_CHECK_ERROR(err, "Failed to create rhs buffer"); in test_vector_times_scalar() 52 SPIRV_CHECK_ERROR(err, "Failed to copy to rhs buffer"); in test_vector_times_scalar() 88 SPIRV_CHECK_ERROR(err, "Failed to create cl program"); in test_vector_times_scalar() 91 SPIRV_CHECK_ERROR(err, "Failed to create ref buffer"); in test_vector_times_scalar() 94 SPIRV_CHECK_ERROR(err, "Failed to set arg 0"); in test_vector_times_scalar() 97 SPIRV_CHECK_ERROR(err, "Failed to set arg 1"); in test_vector_times_scalar() 100 SPIRV_CHECK_ERROR(err, "Failed to set arg 2"); in test_vector_times_scalar() 104 SPIRV_CHECK_ERROR(err, "Failed to enqueue cl kernel"); in test_vector_times_scalar() [all …]
|
D | test_decorate.cpp | 53 SPIRV_CHECK_ERROR(err, "Failed to create spv kernel"); in verify_results() 58 SPIRV_CHECK_ERROR(err, "Failed to create in buffer"); in verify_results() 61 SPIRV_CHECK_ERROR(err, "Failed to copy to in buffer"); in verify_results() 64 SPIRV_CHECK_ERROR(err, "Failed to create in buffer"); in verify_results() 67 SPIRV_CHECK_ERROR(err, "Failed to copy to in buffer"); in verify_results() 70 SPIRV_CHECK_ERROR(err, "Failed to create in buffer"); in verify_results() 73 SPIRV_CHECK_ERROR(err, "Failed to set arg 1"); in verify_results() 76 SPIRV_CHECK_ERROR(err, "Failed to set arg 2"); in verify_results() 79 SPIRV_CHECK_ERROR(err, "Failed to set arg 3"); in verify_results() 83 SPIRV_CHECK_ERROR(err, "Failed to enqueue cl kernel"); in verify_results() [all …]
|
D | test_op_fmath.cpp | 43 SPIRV_CHECK_ERROR(err, "Failed to create lhs buffer"); in test_fmath() 46 SPIRV_CHECK_ERROR(err, "Failed to copy to lhs buffer"); in test_fmath() 49 SPIRV_CHECK_ERROR(err, "Failed to create rhs buffer"); in test_fmath() 52 SPIRV_CHECK_ERROR(err, "Failed to copy to rhs buffer"); in test_fmath() 95 SPIRV_CHECK_ERROR(err, "Failed to create cl kernel"); in test_fmath() 98 SPIRV_CHECK_ERROR(err, "Failed to create ref buffer"); in test_fmath() 101 SPIRV_CHECK_ERROR(err, "Failed to set arg 0"); in test_fmath() 104 SPIRV_CHECK_ERROR(err, "Failed to set arg 1"); in test_fmath() 107 SPIRV_CHECK_ERROR(err, "Failed to set arg 2"); in test_fmath() 111 SPIRV_CHECK_ERROR(err, "Failed to enqueue cl kernel"); in test_fmath() [all …]
|
D | test_linkage.cpp | 39 SPIRV_CHECK_ERROR( in test_linkage_compile() 47 SPIRV_CHECK_ERROR(err, in test_linkage_compile() 61 SPIRV_CHECK_ERROR( in test_linkage_compile() 73 SPIRV_CHECK_ERROR(err, "Failed to compile spv program"); in test_linkage_compile() 95 SPIRV_CHECK_ERROR(err, "Failed to compile export program"); in TEST_SPIRV_FUNC() 99 SPIRV_CHECK_ERROR(err, "Failed to compile import program"); in TEST_SPIRV_FUNC() 104 SPIRV_CHECK_ERROR(err, "Failed to link programs"); in TEST_SPIRV_FUNC() 107 SPIRV_CHECK_ERROR(err, "Failed to create spv kernel"); in TEST_SPIRV_FUNC() 118 SPIRV_CHECK_ERROR(err, "Failed to create in buffer"); in TEST_SPIRV_FUNC() 121 SPIRV_CHECK_ERROR(err, "Failed to copy to in buffer"); in TEST_SPIRV_FUNC() [all …]
|
D | test_cl_khr_spirv_no_integer_wrap_decoration.cpp | 80 SPIRV_CHECK_ERROR(err, "Failed to create lhs buffer"); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 83 SPIRV_CHECK_ERROR(err, "Failed to copy to lhs buffer"); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 86 SPIRV_CHECK_ERROR(err, "Failed to create rhs buffer"); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 89 SPIRV_CHECK_ERROR(err, "Failed to copy to rhs buffer"); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 135 SPIRV_CHECK_ERROR(err, "Failed to create cl kernel"); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 138 SPIRV_CHECK_ERROR(err, "Failed to create ref buffer"); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 141 SPIRV_CHECK_ERROR(err, "Failed to set arg 0"); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 144 SPIRV_CHECK_ERROR(err, "Failed to set arg 1"); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 147 SPIRV_CHECK_ERROR(err, "Failed to set arg 2"); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 151 SPIRV_CHECK_ERROR(err, "Failed to enqueue cl kernel"); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() [all …]
|
D | test_op_lifetime.cpp | 36 SPIRV_CHECK_ERROR(err, "Failed to create lhs buffer"); in test_op_lifetime() 39 SPIRV_CHECK_ERROR(err, "Failed to copy to lhs buffer"); in test_op_lifetime() 42 SPIRV_CHECK_ERROR(err, "Failed to create rhs buffer"); in test_op_lifetime() 45 SPIRV_CHECK_ERROR(err, "Failed to copy to rhs buffer"); in test_op_lifetime() 49 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_op_lifetime() 52 SPIRV_CHECK_ERROR(err, "Failed to create spv kernel"); in test_op_lifetime() 55 SPIRV_CHECK_ERROR(err, "Failed to create res buffer"); in test_op_lifetime() 58 SPIRV_CHECK_ERROR(err, "Failed to set arg 0"); in test_op_lifetime() 61 SPIRV_CHECK_ERROR(err, "Failed to set arg 1"); in test_op_lifetime() 64 SPIRV_CHECK_ERROR(err, "Failed to set arg 2"); in test_op_lifetime() [all …]
|
D | test_op_branch_conditional.cpp | 36 SPIRV_CHECK_ERROR(err, "Failed to create lhs buffer"); in test_branch_conditional() 39 SPIRV_CHECK_ERROR(err, "Failed to copy to lhs buffer"); in test_branch_conditional() 42 SPIRV_CHECK_ERROR(err, "Failed to create rhs buffer"); in test_branch_conditional() 45 SPIRV_CHECK_ERROR(err, "Failed to copy to rhs buffer"); in test_branch_conditional() 49 SPIRV_CHECK_ERROR(err, "Failed to build spv program"); in test_branch_conditional() 52 SPIRV_CHECK_ERROR(err, "Failed to create spv kernel"); in test_branch_conditional() 55 SPIRV_CHECK_ERROR(err, "Failed to create res buffer"); in test_branch_conditional() 58 SPIRV_CHECK_ERROR(err, "Failed to set arg 0"); in test_branch_conditional() 61 SPIRV_CHECK_ERROR(err, "Failed to set arg 1"); in test_branch_conditional() 64 SPIRV_CHECK_ERROR(err, "Failed to set arg 2"); in test_branch_conditional() [all …]
|
D | test_op_loop_merge.cpp | 37 SPIRV_CHECK_ERROR(err, "Failed to create in buffer"); in test_selection_merge() 40 SPIRV_CHECK_ERROR(err, "Failed to copy to in buffer"); in test_selection_merge() 44 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_selection_merge() 47 SPIRV_CHECK_ERROR(err, "Failed to create spv kernel"); in test_selection_merge() 50 SPIRV_CHECK_ERROR(err, "Failed to create out buffer"); in test_selection_merge() 53 SPIRV_CHECK_ERROR(err, "Failed to set arg 0"); in test_selection_merge() 56 SPIRV_CHECK_ERROR(err, "Failed to set arg 1"); in test_selection_merge() 59 SPIRV_CHECK_ERROR(err, "Failed to set arg 2"); in test_selection_merge() 62 SPIRV_CHECK_ERROR(err, "Failed to set arg 3"); in test_selection_merge() 66 SPIRV_CHECK_ERROR(err, "Failed to enqueue cl kernel"); in test_selection_merge() [all …]
|
D | test_op_branch.cpp | 25 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_branch_simple() 28 SPIRV_CHECK_ERROR(err, "Failed to create kernel"); in test_branch_simple() 34 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_branch_simple() 37 SPIRV_CHECK_ERROR(err, "Failed to copy to lhs buffer"); in test_branch_simple() 40 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_branch_simple() 43 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_branch_simple() 46 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_branch_simple() 50 SPIRV_CHECK_ERROR(err, "Failed to enqueue kernel"); in test_branch_simple() 54 SPIRV_CHECK_ERROR(err, "Failed to copy from cl_buffer"); in test_branch_simple()
|
D | test_op_selection_merge.cpp | 36 SPIRV_CHECK_ERROR(err, "Failed to create lhs buffer"); in test_selection_merge() 39 SPIRV_CHECK_ERROR(err, "Failed to copy to lhs buffer"); in test_selection_merge() 42 SPIRV_CHECK_ERROR(err, "Failed to create rhs buffer"); in test_selection_merge() 45 SPIRV_CHECK_ERROR(err, "Failed to copy to rhs buffer"); in test_selection_merge() 49 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_selection_merge() 52 SPIRV_CHECK_ERROR(err, "Failed to create spv kernel"); in test_selection_merge() 55 SPIRV_CHECK_ERROR(err, "Failed to create res buffer"); in test_selection_merge() 58 SPIRV_CHECK_ERROR(err, "Failed to set arg 0"); in test_selection_merge() 61 SPIRV_CHECK_ERROR(err, "Failed to set arg 1"); in test_selection_merge() 64 SPIRV_CHECK_ERROR(err, "Failed to set arg 2"); in test_selection_merge() [all …]
|
D | test_op_vector_extract.cpp | 32 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_extract() 35 SPIRV_CHECK_ERROR(err, "Failed to create kernel"); in test_extract() 42 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_extract() 45 SPIRV_CHECK_ERROR(err, "Failed to copy to rhs buffer"); in test_extract() 49 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_extract() 52 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_extract() 55 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_extract() 60 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_extract() 64 SPIRV_CHECK_ERROR(err, "Failed to enqueue kernel"); in test_extract() 67 SPIRV_CHECK_ERROR(err, "Failed to copy from cl_buffer"); in test_extract()
|
D | test_op_vector_insert.cpp | 31 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_insert() 34 SPIRV_CHECK_ERROR(err, "Failed to create kernel"); in test_insert() 49 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_insert() 52 SPIRV_CHECK_ERROR(err, "Failed to copy to rhs buffer"); in test_insert() 56 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_insert() 59 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_insert() 62 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_insert() 68 SPIRV_CHECK_ERROR(err, "Failed to copy to cl_buffer"); in test_insert() 71 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_insert() 76 SPIRV_CHECK_ERROR(err, "Failed to enqueue kernel"); in test_insert() [all …]
|
D | test_op_atomic.cpp | 25 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_atomic() 28 SPIRV_CHECK_ERROR(err, "Failed to create kernel"); in test_atomic() 32 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_atomic() 45 SPIRV_CHECK_ERROR(err, "Failed to copy to lhs buffer"); in test_atomic() 48 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_atomic() 51 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_atomic() 54 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_atomic() 58 SPIRV_CHECK_ERROR(err, "Failed to enqueue kernel"); in test_atomic() 72 SPIRV_CHECK_ERROR(err, "Failed to copy from cl_buffer"); in test_atomic()
|
D | test_op_phi.cpp | 36 SPIRV_CHECK_ERROR(err, "Failed to create lhs buffer"); in test_phi() 39 SPIRV_CHECK_ERROR(err, "Failed to copy to lhs buffer"); in test_phi() 42 SPIRV_CHECK_ERROR(err, "Failed to create rhs buffer"); in test_phi() 45 SPIRV_CHECK_ERROR(err, "Failed to copy to rhs buffer"); in test_phi() 49 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_phi() 52 SPIRV_CHECK_ERROR(err, "Failed to create spv kernel"); in test_phi() 55 SPIRV_CHECK_ERROR(err, "Failed to create res buffer"); in test_phi() 58 SPIRV_CHECK_ERROR(err, "Failed to set arg 0"); in test_phi() 61 SPIRV_CHECK_ERROR(err, "Failed to set arg 1"); in test_phi() 64 SPIRV_CHECK_ERROR(err, "Failed to set arg 2"); in test_phi() [all …]
|
D | test_op_function.cpp | 31 SPIRV_CHECK_ERROR(err, "Failed to create in buffer"); in test_function() 34 SPIRV_CHECK_ERROR(err, "Failed to copy to in buffer"); in test_function() 42 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_function() 45 SPIRV_CHECK_ERROR(err, "Failed to create spv kernel"); in test_function() 48 SPIRV_CHECK_ERROR(err, "Failed to set arg 1"); in test_function() 52 SPIRV_CHECK_ERROR(err, "Failed to enqueue cl kernel"); in test_function() 56 SPIRV_CHECK_ERROR(err, "Failed to read from ref"); in test_function()
|
D | test_op_composite_construct.cpp | 25 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_composite_construct() 28 SPIRV_CHECK_ERROR(err, "Failed to create kernel"); in test_composite_construct() 34 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_composite_construct() 37 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_composite_construct() 41 SPIRV_CHECK_ERROR(err, "Failed to enqueue kernel"); in test_composite_construct() 45 SPIRV_CHECK_ERROR(err, "Failed to copy from cl_buffer"); in test_composite_construct()
|
D | test_op_negate.cpp | 41 SPIRV_CHECK_ERROR(err, "Failed to create in buffer"); in test_negation() 44 SPIRV_CHECK_ERROR(err, "Failed to copy to in buffer"); in test_negation() 52 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_negation() 55 SPIRV_CHECK_ERROR(err, "Failed to create spv kernel"); in test_negation() 58 SPIRV_CHECK_ERROR(err, "Failed to set arg 1"); in test_negation() 62 SPIRV_CHECK_ERROR(err, "Failed to enqueue cl kernel"); in test_negation() 66 SPIRV_CHECK_ERROR(err, "Failed to read from ref"); in test_negation()
|
D | test_op_undef.cpp | 34 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_undef() 37 SPIRV_CHECK_ERROR(err, "Failed to create kernel"); in test_undef() 41 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_undef() 44 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_undef() 48 SPIRV_CHECK_ERROR(err, "Failed to enqueue kernel"); in test_undef() 52 SPIRV_CHECK_ERROR(err, "Failed to copy from cl_buffer"); in test_undef()
|
D | test_op_opaque.cpp | 36 SPIRV_CHECK_ERROR( in TEST_SPIRV_FUNC() 44 SPIRV_CHECK_ERROR(err, in TEST_SPIRV_FUNC() 58 SPIRV_CHECK_ERROR( in TEST_SPIRV_FUNC() 70 SPIRV_CHECK_ERROR(err, "Failed to compile spv program"); in TEST_SPIRV_FUNC()
|
D | test_op_constant.cpp | 33 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_constant() 36 SPIRV_CHECK_ERROR(err, "Failed to create kernel"); in test_constant() 42 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_constant() 45 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_constant() 49 SPIRV_CHECK_ERROR(err, "Failed to enqueue kernel"); in test_constant() 53 SPIRV_CHECK_ERROR(err, "Failed to copy from cl_buffer"); in test_constant()
|
D | test_op_copy_object.cpp | 33 SPIRV_CHECK_ERROR(err, "Failed to build program"); in test_copy() 36 SPIRV_CHECK_ERROR(err, "Failed to create kernel"); in test_copy() 42 SPIRV_CHECK_ERROR(err, "Failed to create buffer"); in test_copy() 45 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument"); in test_copy() 49 SPIRV_CHECK_ERROR(err, "Failed to enqueue kernel"); in test_copy() 53 SPIRV_CHECK_ERROR(err, "Failed to copy from cl_buffer"); in test_copy()
|
D | test_op_spec_constant.cpp | 39 SPIRV_CHECK_ERROR(err, "Failed to build program"); in run_case() 42 SPIRV_CHECK_ERROR(err, "Failed to create kernel"); in run_case() 47 SPIRV_CHECK_ERROR(err, "Failed to create output_buffer"); in run_case() 50 SPIRV_CHECK_ERROR(err, "Failed to set kernel argument output_buffer"); in run_case() 55 SPIRV_CHECK_ERROR(err, "Failed to enqueue kernel"); in run_case() 60 SPIRV_CHECK_ERROR(err, "Failed to copy from output_buffer"); in run_case()
|
D | main.cpp | 135 SPIRV_CHECK_ERROR((err || status), "Failed to create program with clCreateProgramWithBinary"); in offline_get_program_with_il() 162 SPIRV_CHECK_ERROR( in get_program_with_il() 170 SPIRV_CHECK_ERROR( in get_program_with_il() 179 SPIRV_CHECK_ERROR(err, in get_program_with_il() 193 SPIRV_CHECK_ERROR( in get_program_with_il() 198 SPIRV_CHECK_ERROR(err, "Failed to build program"); in get_program_with_il()
|
D | test_get_program_il.cpp | 55 SPIRV_CHECK_ERROR(error, "Unable to create program with IL."); in TEST_SPIRV_FUNC() 65 SPIRV_CHECK_ERROR(error, "Unable to get program info."); in TEST_SPIRV_FUNC() 96 SPIRV_CHECK_ERROR(error, "Unable to get program il length"); in TEST_SPIRV_FUNC()
|
D | procs.h | 29 #define SPIRV_CHECK_ERROR(err, fmt, ...) \ macro
|