clc allows max long type Fixes program@execute@calls on CUDA OpenCL Fixes: e408ce1f2bff23121670a8206258c80bb3d9befd (cl: Add tests for function calls)
Signed-off-by: Jan Vesely <[email protected]> --- tests/cl/program/execute/calls.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cl/program/execute/calls.cl b/tests/cl/program/execute/calls.cl index f4f55be31..b1c73f7ba 100644 --- a/tests/cl/program/execute/calls.cl +++ b/tests/cl/program/execute/calls.cl @@ -291,7 +291,7 @@ long i64_func_void(void) #if USE_ASM __asm("v_lshlrev_b64 %0, 44, 1" : "=v"(ret)); #else - ret = 1ull << 44; + ret = 1ul << 44; #endif return ret; } -- 2.13.5 _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
