Skip to content
Snippets Groups Projects
Commit 2c507d79 authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Fix required headers for cuda/hip platforms

parent 16a6e80d
No related branches found
No related tags found
1 merge request!438Reduction Support
......@@ -8,4 +8,6 @@ class CudaPlatform(GenericGpu):
@property
def required_headers(self) -> set[str]:
return set()
return {
'"gpu_atomics.h"',
}
......@@ -8,4 +8,7 @@ class HipPlatform(GenericGpu):
@property
def required_headers(self) -> set[str]:
return {'"pystencils_runtime/hip.h"'}
return {
'"gpu_atomics.h"',
'"pystencils_runtime/hip.h"',
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment