Closed monofuel closed 2 months ago
d'oh
ah, hipModuleLaunchKernel expects a hipFunction_t which is some weird class, this is not the right approach...
very strange, tests pass but the vector_sum_cpu.nim build fails: https://github.com/monofuel/hippo/actions/runs/10659502190/job/29542124225
works on my machine and in an ubuntu container
d'oh, the error was actually with the second command, not the first. the hip launch kernel macro should not run when building for cuda.
HIP-CPU's
hipLaunchKernelGGL
is a macro that handles packing varargs into a C++ tuple. I can't find any good way to interface with this function from nim for a variable set of nim tuple arguments.3 is giving me issues with testing this on my desktop