diff --git a/test_conformance/math_brute_force/binary.cpp b/test_conformance/math_brute_force/binary.cpp index e6b9cbbc..c428c5e4 100644 --- a/test_conformance/math_brute_force/binary.cpp +++ b/test_conformance/math_brute_force/binary.cpp @@ -49,7 +49,7 @@ static int BuildKernel(const char *name, int vectorSize, cl_uint kernel_count, sizeNames[vectorSize], "* in2 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i] );\n" @@ -136,7 +136,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, sizeNames[vectorSize], "* in2 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i] );\n" diff --git a/test_conformance/math_brute_force/binary_i.cpp b/test_conformance/math_brute_force/binary_i.cpp index f931c5be..99504c74 100644 --- a/test_conformance/math_brute_force/binary_i.cpp +++ b/test_conformance/math_brute_force/binary_i.cpp @@ -39,7 +39,7 @@ static int BuildKernel(const char *name, int vectorSize, cl_uint kernel_count, sizeNames[vectorSize], "* in2 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i] );\n" @@ -126,7 +126,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, sizeNames[vectorSize], "* in2 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i] );\n" diff --git a/test_conformance/math_brute_force/binary_two_results_i.cpp b/test_conformance/math_brute_force/binary_two_results_i.cpp index 2ecf1c28..4686f7e9 100644 --- a/test_conformance/math_brute_force/binary_two_results_i.cpp +++ b/test_conformance/math_brute_force/binary_two_results_i.cpp @@ -42,7 +42,7 @@ static int BuildKernel(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in2 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i], out2 + i );\n" @@ -135,7 +135,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in2 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i], out2[i] );\n" diff --git a/test_conformance/math_brute_force/i_unary.cpp b/test_conformance/math_brute_force/i_unary.cpp index b736b24f..cd5e2fa8 100644 --- a/test_conformance/math_brute_force/i_unary.cpp +++ b/test_conformance/math_brute_force/i_unary.cpp @@ -116,7 +116,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in[i] );\n" diff --git a/test_conformance/math_brute_force/macro_binary.cpp b/test_conformance/math_brute_force/macro_binary.cpp index 0c37068e..e6b4c17a 100644 --- a/test_conformance/math_brute_force/macro_binary.cpp +++ b/test_conformance/math_brute_force/macro_binary.cpp @@ -38,7 +38,7 @@ static int BuildKernel(const char *name, int vectorSize, cl_uint kernel_count, sizeNames[vectorSize], "* in2 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i] );\n" @@ -125,7 +125,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, sizeNames[vectorSize], "* in2 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i] );\n" diff --git a/test_conformance/math_brute_force/macro_unary.cpp b/test_conformance/math_brute_force/macro_unary.cpp index ced72be8..b2bcd8f5 100644 --- a/test_conformance/math_brute_force/macro_unary.cpp +++ b/test_conformance/math_brute_force/macro_unary.cpp @@ -36,7 +36,7 @@ static int BuildKernel(const char *name, int vectorSize, cl_uint kernel_count, sizeNames[vectorSize], "* in )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in[i] );\n" @@ -118,7 +118,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, sizeNames[vectorSize], "* in )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in[i] );\n" diff --git a/test_conformance/math_brute_force/mad.cpp b/test_conformance/math_brute_force/mad.cpp index 872caa0b..845f7ed4 100644 --- a/test_conformance/math_brute_force/mad.cpp +++ b/test_conformance/math_brute_force/mad.cpp @@ -39,7 +39,7 @@ static int BuildKernel(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in3 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i], in3[i] );\n" @@ -131,7 +131,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in3 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i], in3[i] );\n" diff --git a/test_conformance/math_brute_force/ternary.cpp b/test_conformance/math_brute_force/ternary.cpp index 1b03b209..f05c605a 100644 --- a/test_conformance/math_brute_force/ternary.cpp +++ b/test_conformance/math_brute_force/ternary.cpp @@ -43,7 +43,7 @@ static int BuildKernel(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in3 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i], in3[i] );\n" @@ -135,7 +135,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in3 )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in1[i], in2[i], in3[i] );\n" diff --git a/test_conformance/math_brute_force/unary.cpp b/test_conformance/math_brute_force/unary.cpp index 5085b9b4..54b409f5 100644 --- a/test_conformance/math_brute_force/unary.cpp +++ b/test_conformance/math_brute_force/unary.cpp @@ -39,7 +39,7 @@ static int BuildKernel(const char *name, int vectorSize, cl_uint kernel_count, sizeNames[vectorSize], "* in )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in[i] );\n" @@ -120,7 +120,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, sizeNames[vectorSize], "* in )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in[i] );\n" diff --git a/test_conformance/math_brute_force/unary_two_results.cpp b/test_conformance/math_brute_force/unary_two_results.cpp index a3be1d8d..28fbf194 100644 --- a/test_conformance/math_brute_force/unary_two_results.cpp +++ b/test_conformance/math_brute_force/unary_two_results.cpp @@ -38,7 +38,7 @@ static int BuildKernel(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in[i], out2 + i );\n" @@ -124,7 +124,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in[i], out2 + i );\n" diff --git a/test_conformance/math_brute_force/unary_two_results_i.cpp b/test_conformance/math_brute_force/unary_two_results_i.cpp index 6c56ed1f..2eb2ef3a 100644 --- a/test_conformance/math_brute_force/unary_two_results_i.cpp +++ b/test_conformance/math_brute_force/unary_two_results_i.cpp @@ -39,7 +39,7 @@ static int BuildKernel(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in[i], out2 + i );\n" @@ -125,7 +125,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in[i], out2 + i );\n" diff --git a/test_conformance/math_brute_force/unary_u.cpp b/test_conformance/math_brute_force/unary_u.cpp index df6724ca..26ceb683 100644 --- a/test_conformance/math_brute_force/unary_u.cpp +++ b/test_conformance/math_brute_force/unary_u.cpp @@ -35,7 +35,7 @@ static int BuildKernel(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in[i] );\n" @@ -115,7 +115,7 @@ static int BuildKernelDouble(const char *name, int vectorSize, cl_kernel *k, sizeNames[vectorSize], "* in )\n" "{\n" - " int i = get_global_id(0);\n" + " size_t i = get_global_id(0);\n" " out[i] = ", name, "( in[i] );\n"