tracy
tracy copied to clipboard
CUDA Support?
I know it'd probably be quite an endeavor but would it be possible to add CUDA support? You have OpenCL support and CUDA support would be quite cool
Update when I try and use Tracy with CUDA I get linker errors despite having tracy/TracyClient.cpp added to my CMake file and having TRACY_ENABLE turned on
After a bit of researching I found that adding
set_source_files_properties(tracy/TracyClient.cpp PROPERTIES LANGUAGE CUDA)
to my cmake file fixed it
I know it'd probably be quite an endeavor but would it be possible to add CUDA support?
I know nothing about CUDA, so I can't even say if this would be feasible.
There is an issue with memory usage measuring that I've outlined here: https://stackoverflow.com/questions/65475276/operator-new-in-cuda-is-always-a-host-device-function
@ProtoByter : This issue may be possible to circumvent if Tracey's operator new is also made a __host__ __device__
function - with the device function doing nothing / calling the original operator new / doing something useful.
There seems to be some work towards this being done: https://github.com/wolfpld/tracy/compare/master...bcumming:feature/cuda