Skip to content
Snippets Groups Projects
Commit 7e5744b2 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

remove cuda code stub

parent 8b501d33
No related merge requests found
......@@ -8,7 +8,7 @@ import sympy as sp
from pystencilssfg.composer.custom import CustomGenerator
from pystencilssfg.composer.class_composer import SfgClassComposer
from pystencilssfg.ir import SfgMethod, SfgKernelHandle
from pystencilssfg.ir import SfgMethod
from pystencils import (
Assignment,
......@@ -18,7 +18,6 @@ from pystencils import (
Target,
)
from pystencils.types import PsType, constify, deconstify, PsCustomType
from pystencils.backend.kernelfunction import GpuKernelFunction
from pystencilssfg import SfgComposer
from pystencilssfg.lang import (
......@@ -31,7 +30,6 @@ from pystencilssfg.lang import (
strip_ptr_ref,
)
from .api import (
uint_t,
StructuredBlockForest,
GenericWalberlaField,
GhostLayerFieldPtr,
......@@ -328,20 +326,6 @@ class ShadowFieldCache:
return f"shadow_{str(orig)}_"
class CudaInvocation:
def __init__(self, khandle: SfgKernelHandle):
self._khandle = khandle
gpu_func = khandle.get_kernel_function()
assert isinstance(gpu_func, GpuKernelFunction)
self._gpu_func = gpu_func
self._block_size = Vector3(uint_t).var("gpuBlockSize")
def render(self, sfg: SfgComposer):
pass
def combine_vectors(scalars: set[SfgVar]) -> dict[SrcVector, tuple[SfgVar, ...]]:
"""Attempt to combine vector component symbols into vectors.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment