spack/var/spack/repos/builtin/packages/pocl/uint.patch
Erik Schnetter 9121599145 New package pocl (#3413)
* New package pocl

* pocl: Update dependencies, add self-test

* pocl: Don't require LLVM shared libraries

LLVM build fails with shared libraries.

* Add patch

* Update

* Update

* Make build and install work; install test still fails

* Split pocl into pocl proper and pocl-test

* Add debug output

* pocl: Update to 0.14-rc

* pocl: Correct flake8 error

* pocl: Heed code review recommendations

* pocl: Add newline at end of file

* pocl: Correct flake8 error

I don’t want to use an even longer line by putting the whole variant declaration onto a single line, nor do I think that having an overlong line and adding `# noqa` at the end is more readable than splitting a string over three lines.

* pocl: Correct dependency type for libtool
2017-03-12 12:52:18 -05:00

12 lines
389 B
Diff

--- a/lib/CL/clCreateSubDevices.c
+++ b/lib/CL/clCreateSubDevices.c
@@ -46,7 +46,7 @@
cl_device_id *new_devs = NULL;
// number of elements in (copies of) properties, including terminating null
cl_uint num_props = 0;
- uint i;
+ cl_uint i;
POCL_GOTO_ERROR_COND((in_device == NULL), CL_INVALID_DEVICE);
POCL_GOTO_ERROR_COND((properties == NULL), CL_INVALID_VALUE);