Skip to content

Replace deviceOverlap with asyncEngineCount for compatibility of CUDA >= 12.9#1827

Merged
danielpeter merged 1 commit intoSPECFEM:develfrom
xumi1993:devel
Aug 28, 2025
Merged

Replace deviceOverlap with asyncEngineCount for compatibility of CUDA >= 12.9#1827
danielpeter merged 1 commit intoSPECFEM:develfrom
xumi1993:devel

Conversation

@xumi1993
Copy link

The following error will be raised under compilation with CUDA >= 12.9, due to the removal of deviceOverlap

/home/xumj/Codes/SpecFWAT/src/specfem3d/src/gpu/initialize_gpu.cu(244): error: 
class "cudaDeviceProp" has no member "deviceOverlap" if (deviceProp.deviceOverlap){ 

Thus, using asyncEngineCount for replacement.
asyncEngineCount > 0 equals to deviceOverlap = True in old versions.

`deviceOverlap` has been removed after CUDA 12.9
@danielpeter danielpeter merged commit 3d986bd into SPECFEM:devel Aug 28, 2025
42 checks passed
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.

2 participants