-
Notifications
You must be signed in to change notification settings - Fork 39
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
ERROR: HIPError(code hipErrorOutOfMemory, out of memory) #591
Comments
What's the output of |
And also the output of |
Does ROCm work with C++? #include <hip/hip_runtime.h>
int main() {
int n_elements = 8;
int size = 8 * sizeof(int);
int *d_a;
hipMalloc(&d_a, size);
return 0;
} Compile |
Yes, My hipinfo is: HIP version : 5.5.0-3e8db564 == hipconfig == hip-clang Registered Targets: === Environment Variables == Windows Display Drivers use So, I think the HIP may be correct. After trying, I find that the error is from: |
So your system probably does not support It will have an effect only when you encounter some errors/exceptions though. Will come up with a fix soon |
Should be fixed by PR: #594 It is probably fine to use the default flag, since we always pass the device pointer to the GPU (which differs from the host pointer with the default flag). |
When one tries to run the following standard code, an error occurs
Another,
AMDGPU.exception_holder(AMDGPU.device())
has a similar error.The text was updated successfully, but these errors were encountered: