spcl / spcl/dace

CUDA Codegen Error

Open
#335 0 comments 1 reaction 1 assignee Assigned to @Copilot View on GitHub
bug codegen
Dominant language
Python
Stars
593
Forks
163
Avg merge
2d 23h
Merged PRs (30d)
60

Description

Compiling the CUDA SDFG below yields a codegen error
(dace::GlobalToGlobal cannot be found)

[global_to_global_bug.sdfg.zip](https://github.com/spcl/dace/files/5036189/global_to_global_bug.sdfg.zip)

Instead of generating `GlobalToGlobal` in `dace/codegen/targets/cuda.py`, we should raise a `NotImplementedError` that mentions that GPU global memory to global memory copies need to be more explicitly specified in the code.

To reproduce this (and we should add a test), we can add a `GPU_Global` access node outside and a `GPU_Global` access node inside a `GPU_Device` map.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.