mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Enable -Wnarrowing for the basic test suite (#2467)
Fixes #1156 --------- Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
This commit is contained in:
@@ -56,8 +56,9 @@ __kernel void test_if(__global int *src, __global int *dst)
|
||||
int verify_if(std::vector<cl_int> input, std::vector<cl_int> output)
|
||||
{
|
||||
const cl_int results[] = {
|
||||
0x12345678, 0x23456781, 0x34567812, 0x45678123,
|
||||
0x56781234, 0x67812345, 0x78123456, 0x81234567,
|
||||
(cl_int)0x12345678, (cl_int)0x23456781, (cl_int)0x34567812,
|
||||
(cl_int)0x45678123, (cl_int)0x56781234, (cl_int)0x67812345,
|
||||
(cl_int)0x78123456, (cl_int)0x81234567,
|
||||
};
|
||||
|
||||
auto predicate = [&results](cl_int a, cl_int b) {
|
||||
|
||||
Reference in New Issue
Block a user