eholk / harlan

A language for GPU computing.
Other
1.19k stars 82 forks source link

Multiple named address spaces on Travis CI #107

Closed eholk closed 11 years ago

eholk commented 11 years ago

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 11 years ago

See https://travis-ci.org/eholk/harlan/builds/12542502 for an example build failing with this issue.

eholk commented 11 years ago

This is fixed now. We still don't pass on Travis CI, but this is do to other bugs.