[Piglit] [PATCH 1/1] cl: Don't use unsigned long long

Jan Vesely jan.vesely at rutgers.edu
Mon Sep 25 15:10:23 UTC 2017


clc allows max long type
Fixes program at execute@calls on CUDA OpenCL
Fixes: e408ce1f2bff23121670a8206258c80bb3d9befd (cl: Add tests for function calls)

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
 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



More information about the Piglit mailing list