79184513

Date: 2024-11-13 10:49:27
Score: 1.5
Natty:
Report link

Turns out the solution was indeed to define the __cxa_pure_virtual as a dummy function due to https://bugs.llvm.org/show_bug.cgi?id=49839 , the issue is that I wasn't adding the __device__ attribute at the front. The function should then be something like:

extern "C" __device__ void __cxa_pure_virtual() {
  while (1) {
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: glowl