Skip to content
Snippets Groups Projects

Fundamental GPU Support

Merged Frederik Hennig requested to merge fhennig/sycl into backend-rework
Viewing commit 356a8343
Show latest version
2 files
+ 46
1
Preferences
Compare changes
Files
2
@@ -19,7 +19,7 @@ from ...config import GpuIndexingConfig
@@ -19,7 +19,7 @@ from ...config import GpuIndexingConfig
class SyclPlatform(GenericGpu):
class SyclPlatform(GenericGpu):
def __init__(
def __init__(
self, ctx: KernelCreationContext, indexing_cfg: GpuIndexingConfig | None
self, ctx: KernelCreationContext, indexing_cfg: GpuIndexingConfig | None = None
):
):
super().__init__(ctx)
super().__init__(ctx)
self._cfg = indexing_cfg if indexing_cfg is not None else GpuIndexingConfig()
self._cfg = indexing_cfg if indexing_cfg is not None else GpuIndexingConfig()