Closed mhaseeb123 closed 10 months ago
PR #8 provides a temporary fix using compiler directives for now.
opened a ticket on stdexec library: https://github.com/NVIDIA/stdexec/issues/1146
Can you take a look at stdexec's response? https://github.com/NVIDIA/stdexec/issues/1146#issuecomment-1817786192 and see if we can use exec::repeat_effect_until
, but that may mean we need two separate files for CPU and GPU codes (maybe?).
hpcpp apps including both stencils fail to build when
-stdpar=multicore
(aka CMake -DSTDPAR=multicore). The build errors originate from therepeat_n.cuh
file adapter from nvidia/stdexec.Possible fixes:
#if defined(USE_GPU)
to disable code usingrepeat_n
and provide alternative implementationrepeat_n
sender for CPU scheduler.