We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem similar to ROCm/#2977. (Perhaps I should have submitted that issue also in this repo)
Calling hipCtxGetApiVersion with the same types of arguments as a succesful call to cuCtxGetApiVersion gives
hipCtxGetApiVersion
error: invalid conversion from 'unsigned int*' to 'int*' [-fpermissive] .........................(hipCtxGetApiVersion(_obj, &version); ^~~~~~~~ | unsigned int*
So the problem is with the second argument.
NAME="Rocky Linux" VERSION="8.9 (Green Obsidian)"
AMD Ryzen Threadripper 3970X 32-Core Processor
AMD Radeon Pro W6800
ROCm 6.0.0
HIP
Call hipCtxGetApiVersion with an unsigned int pointer as a second argument, while not using -fpermissive.
-fpermissive
This works for CuCtxGetApiVersion, but not for hipCtxGetApiVersion .
CuCtxGetApiVersion
Sorry, "permission denied".
This is actually on a W6600 (not listed in the dropdown options), using ROCm 6.0.2 (also not listed).
The text was updated successfully, but these errors were encountered:
Discussing with the team internally.
Sorry, something went wrong.
kjayapra-amd
No branches or pull requests
Problem Description
Problem similar to ROCm/#2977.
(Perhaps I should have submitted that issue also in this repo)
Calling
hipCtxGetApiVersion
with the same types of arguments as a succesful call to cuCtxGetApiVersion givesSo the problem is with the second argument.
Operating System
NAME="Rocky Linux" VERSION="8.9 (Green Obsidian)"
CPU
AMD Ryzen Threadripper 3970X 32-Core Processor
GPU
AMD Radeon Pro W6800
ROCm Version
ROCm 6.0.0
ROCm Component
HIP
Steps to Reproduce
Call
hipCtxGetApiVersion
with an unsigned int pointer as a second argument, while not using-fpermissive
.This works for
CuCtxGetApiVersion
, but not forhipCtxGetApiVersion
.(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
Sorry, "permission denied".
Additional Information
This is actually on a W6600 (not listed in the dropdown options), using ROCm 6.0.2 (also not listed).
The text was updated successfully, but these errors were encountered: