mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Re-enabling narrowing errors (#1144)
Fixes narrowing conversion build errors in test_common Removing disable of narrowing errors in main CMakeLists.txt and moving it down to specific test_conformance suite's CMakeLists.txt where there are many more build errors revealed from this fix. Fixes a few simple issues under test_conformance in the process. Contributes #787 Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com> --------- Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
This commit is contained in:
@@ -154,7 +154,7 @@ int sampler_param_test(cl_sampler sampler, cl_sampler_info param_name,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static cl_int normalized_coord_values[] = { CL_TRUE, CL_FALSE };
|
||||
static cl_bool normalized_coord_values[] = { CL_TRUE, CL_FALSE };
|
||||
static cl_addressing_mode addressing_mode_values[] = {
|
||||
CL_ADDRESS_NONE, CL_ADDRESS_CLAMP_TO_EDGE, CL_ADDRESS_CLAMP,
|
||||
CL_ADDRESS_REPEAT, CL_ADDRESS_MIRRORED_REPEAT
|
||||
|
||||
Reference in New Issue
Block a user