tracy icon indicating copy to clipboard operation
tracy copied to clipboard

Remove resolution operators for nvcc compilation

Open Q-Minh opened this issue 4 months ago • 2 comments

nvcc can't compile member function calls written as block->ConcurrentQueue::Block::<member function>(). Is there a reason to use this calling convention?

Q-Minh avatar Oct 08 '25 01:10 Q-Minh

See https://github.com/cameron314/concurrentqueue/commit/594bae453a25f83def391763a5c301cf1e36dbd0

Could you try reverting https://github.com/wolfpld/tracy/commit/d3783ae359f3584c5bbb685179aab2b6f7abe410 and see if it fixes your issue on nvcc ?

The namespace was originally added for an old version of GCC, not sure what version does not need this.

Lectem avatar Oct 08 '25 05:10 Lectem

Hi @Lectem thanks for the quick reply. It seems that https://github.com/wolfpld/tracy/commit/d3783ae359f3584c5bbb685179aab2b6f7abe410 only addresses a subset of the scoped calls that my PR addresses. Was there a reason for testing that specific commit as opposed to my changes? And yeah, not sure what version of GCC cannot compile the unscoped calls either, but I'm currently compiling with GCC 13.3.0. And nvcc versions 12 and 13 fail to compile the scoped calls.

Q-Minh avatar Oct 09 '25 03:10 Q-Minh