Multiple named address spaces on Travis CI
eholk opened this issue · 2 comments
eholk commented
Our tests on Travis CI are failing with errors like these:
"/tmp/OCLv6aQfi.cl", line 40: error: multiple named address spaces
region_ptr alloc_in_region(region __global *r, unsigned int size);
^
"/tmp/OCLv6aQfi.cl", line 40: warning: explicit type is missing ("int" assumed)
region_ptr alloc_in_region(region __global *r, unsigned int size);
^
This might be because we're doing region __global *r
instead of __global region *r
, which is more normal. I think we had to do the less normal way due to ambiguity with pointers to pointers. Given that everything is packaged up in regions now, it might be that we never need double indirection, at least not directly.
eholk commented
See https://travis-ci.org/eholk/harlan/builds/12542502 for an example build failing with this issue.
eholk commented
This is fixed now. We still don't pass on Travis CI, but this is do to other bugs.