• Chris Sullivan's avatar
    Turn off optimizations on emitted external function. (#1592) · b0e4d8cb
    Chris Sullivan authored
    Clang chooses to use a __vectorcall optimization in which
    address pointers are vector loaded in the gpu::invoke_primitive.
    This results in a segfault when stack alignment is absent.
    Since the GPU transformer does not rely on CPU for compute,
    we disable the optimizations of the emitted function.
    b0e4d8cb
Name
Last commit
Last update
.ci Loading commit data...
cmake Loading commit data...
contrib/docker Loading commit data...
doc Loading commit data...
licenses Loading commit data...
maint Loading commit data...
python Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIB.md Loading commit data...
INSTALL.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION.in Loading commit data...
changes.md Loading commit data...