NVIDIA / NVIDIA/cccl

include-stdpar headers break atomics on Circle

Open
#1,013 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

I posted this issue to the stdexec repo, but as I do more digging it's clear it's a libcudacxx issue.
https://github.com/NVIDIA/stdexec/issues/866

Flipping -stdpar breaks my atomics. It appears that I have to define `__PGIC__` in order to enable`_LIBCUDACXX_COMPILER_PGI` in order to enable `_LIBCUDACXX_HAS_CUDA_ATOMIC_IMPL` in order to include atomic_cuda.h from atomic. Is pretending to be a PGI compiler the only way to get stdpar working?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.