• 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
..
ngraph Loading commit data...
resource Loading commit data...
tools Loading commit data...
CMakeLists.txt Loading commit data...