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

Add dummy implementations for unfold_function in cuda/sycl platforms

parent dd8f421d
No related branches found
No related tags found
1 merge request!438Reduction Support
Pipeline #73144 failed
......@@ -2,6 +2,7 @@ from __future__ import annotations
from warnings import warn
from typing import TYPE_CHECKING
from ..ast import PsAstNode
from ...types import constify
from ..exceptions import MaterializationError
from .generic_gpu import GenericGpu
......@@ -134,6 +135,11 @@ class CudaPlatform(GenericGpu):
f"No implementation available for function {func} on data type {dtype}"
)
def unfold_function(
self, call: PsCall
) -> PsAstNode:
pass
# Internals
def _prepend_dense_translation(
......
from __future__ import annotations
from typing import TYPE_CHECKING
from ..ast import PsAstNode
from ..functions import CFunction, PsMathFunction, MathFunctions
from ..kernelcreation.iteration_space import (
IterationSpace,
......@@ -108,6 +109,11 @@ class SyclPlatform(GenericGpu):
f"No implementation available for function {func} on data type {dtype}"
)
def unfold_function(
self, call: PsCall
) -> PsAstNode:
pass
def _prepend_dense_translation(
self, body: PsBlock, ispace: FullIterationSpace
) -> tuple[PsBlock, GpuThreadsRange]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment