UoB-HPC / stdpar-nbody

https://research-information.bris.ac.uk/en/publications/efficient-tree-based-parallel-algorithms-for-n-body-simulations-u
MIT License
2 stars 0 forks source link

Some minor updates to recipe.py for AdaptiveCpp #29

Closed illuhad closed 3 months ago

illuhad commented 3 months ago

In general, the -DWITH_*_BACKEND flags are typically unneeded as, especially when installing CUDA/ROCm/OpenCL using official packages, AdaptiveCpp cmake will auto-detect and auto-enable them - but it doesn't hurt :)

I haven't touched the LLVM version, but I'm pretty sure we will have to touch that eventually and use 17 for AdaptiveCpp. I cannot guarantee that AMD with LLVM 18 will be reliable. JIT compilation could break any time with any change to source code. That setup breaks LLVM IR compatibility guarantees between different LLVM IR versions (ingesting LLVM IR generated by an older LLVM version is supported, but the reverse is not and generally breaks with every LLVM release somewhere).