Skip to content

Instantly share code, notes, and snippets.

View Muhammad-Yunus's full-sized avatar
:octocat:
Working from home

Muhammad Yunus Muhammad-Yunus

:octocat:
Working from home
View GitHub Profile
@Muhammad-Yunus
Muhammad-Yunus / pocl-cuda6.5.patch
Last active October 16, 2021 15:37
Patch file for PoCL 1.7 with CUDA 6.5 backend on ARMv7 (Jetson TK1)
diff --git a/lib/CL/devices/cuda/pocl-cuda.c b/lib/CL/devices/cuda/pocl-cuda.c
index cd9e044..06a9cde 100644
--- a/lib/CL/devices/cuda/pocl-cuda.c
+++ b/lib/CL/devices/cuda/pocl-cuda.c
@@ -1082,7 +1082,7 @@ pocl_cuda_submit_kernel (CUstream stream, _cl_command_node *cmd,
}
if (constantMemBytes > constant_mem_size)
- POCL_ABORT ("[CUDA] Total constant buffer size %u exceeds %lu allocated\n",
+ POCL_ABORT ("[CUDA] Total constant buffer size %u exceeds %u allocated\n",