| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
* ArrayFire couldn't be compiled using device debug symbols because the get_stream and synchronize_stream functions with the ThrustArrayFirePolicy needed to be device and host compatible. These functions were using some host only functions so they couldn't be compiled for the device. Although these functions aren't really used, they caused missing symbol errors when passing the -G flag.
|
fyi: opencl reduce failed. |
Sorry, something went wrong.
the gidx was incorrectly being used as gid
| Back | FazBrowse Home | New Git URL |
ArrayFire was failing to build with NVCC's -G(device symbols) flag.
Description
Support compiling of ArrayFire with the -G flag in NVCC. This flag embeds device symbols in the binary
so that you could debug CUDA kernels using cuda-gdb. Compiling with device debug symbols was failing
because we were calling host functions from functions that supported both device and host code.
This PR also addresses an issue where we were using the default stream when calling CUB functions
in reduce by key.
Tests for reduce by keys don't pass in the current master with debug symbols because of the newer
version of CUB used. The older version of CUB passes the tests but it is not compatible with CUDA 11.
This is still being investigated and I have NOT included the fix as part of this PR.
Changes to Users
N/A
Checklist