Skip to content

Conversation

@m-fila
Copy link

@m-fila m-fila commented Jan 29, 2026

The CUDA types (cudaStream_t, cudaError_t) and functions cudaStreamAddCallback used are part of CUDA runtime API but the included header cuda.h is for CUDA driver API.

This gives a compilation error in client code compiled with host compiler unless cuda_runtime_api.h (CUDA runtime API header) is included before boost/fiber/
The examples in this repo compile fine, but they are compiled with nvcc which takes care of CUDA includes anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant