Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HIPIFY] surf2dwrite issue #1010

Open
hassamhb opened this issue Sep 7, 2023 · 2 comments
Open

[HIPIFY] surf2dwrite issue #1010

hassamhb opened this issue Sep 7, 2023 · 2 comments
Assignees
Labels
clang clang compiler related issue or change CUDA CUDA-related Under Investigation

Comments

@hassamhb
Copy link

hassamhb commented Sep 7, 2023

Hi,

I'm trying to hipify my code, but I'm getting an error.

"surf2dwrite"

I have tried this command from "#140"

image
hipify-clang --print-stats --cuda-path="c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5" "c:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.5/0_Simple/simpleSurfaceWrite/simpleSurfaceWrite.cu" --skip-excluded-preprocessor-conditional-blocks -I"c:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.5\common\inc" -- -D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH

and I received this output.

surf2d

I have tried both the Ubuntu and Windows operating systems.
Cuda: 10.2, 11.5, 12.2
LLVM: 15, 16

However, the problem has not yet been fixed. Is there any solution for this?

@emankov emankov self-assigned this Sep 10, 2023
@emankov emankov changed the title surf2dwrite issue [HIPIFY] surf2dwrite issue Sep 10, 2023
@emankov emankov added clang clang compiler related issue or change CUDA CUDA-related labels Sep 10, 2023
@artheru
Copy link

artheru commented Sep 18, 2023

any progress or surf2Dwrite is actually not supported?

@emankov
Copy link
Collaborator

emankov commented Aug 14, 2024

The issue is still reproducible on the latest LLVM clang. There were some efforts, like https://reviews.llvm.org/D110089, from the LLVM community to support CUDA textures/surfaces, but it looks like they are still not fully supported. We will try to find some solution/workaround, if any, on the hipify-clang side, but w/o a guarantee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang clang compiler related issue or change CUDA CUDA-related Under Investigation
Projects
None yet
Development

No branches or pull requests

4 participants