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

Tutorials compile and execute on AMD Radeon RX 7600 but fail to execute on Nvidia RTX 4070 Ti #41

Open
amerus opened this issue Dec 11, 2024 · 1 comment

Comments

@amerus
Copy link

amerus commented Dec 11, 2024

After compiling on Nvidia (driver 535.183.01, CUDA 12.2), execution of the binaries consistently fails with the following error:
"Orochi error: 'Segmentation fault (core dumped).

The operating system is Ubuntu 22.04.3 LTS. When swapping the video card to the Radeon RX 7600, both compilation and the execution succeeds. I can provide more information upon request. There were no such errors with the previous version of hipRT.

@amerus
Copy link
Author

amerus commented Jan 8, 2025

Additional information on this bug. Premake5 compilation with Nvidia GPU results in broken binaries. The problem can be mitigated for the first tutorial sample (00_context_creation) by adding the following line to the corresponding premake5.lua file:
include "../../contrib/Orochi/Orochi/enable_cuew.lua"
The remaining examples compile on AMD but fail to do so for Nvidia. I had to create a custom CMakeLists.txt file for the tutorials in order to resolve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant