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

Minor adaptation of required gpu headers

parent 65362ddf
No related branches found
No related tags found
1 merge request!438Reduction Support
......@@ -33,7 +33,7 @@ class CudaPlatform(GenericGpu):
@property
def required_headers(self) -> set[str]:
return super().required_headers | {'"pystencils_runtime/cuda.cuh"'}
return super().required_headers | {'"pystencils_runtime/cuda.cuh"', '"gpu_atomics.h"'}
def resolve_reduction(
self,
......
......@@ -203,9 +203,7 @@ class GenericGpu(Platform):
@property
@abstractmethod
def required_headers(self) -> set[str]:
return {
'"gpu_atomics.h"',
}
return set()
@abstractmethod
def resolve_reduction(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment