-
Notifications
You must be signed in to change notification settings - Fork 51
[Issue]: HIP Backend - Gated HIP Launch #618
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Problem Description
GPU run needs to exit when missing CO is detected or when hipLaunchKernel returns error -- i.e. hipErrorInvalidDeviceFunction
Requires
- HIP Check
#define HIP_CHECK(command) { \
hipError_t status = command; \
if (status != hipSuccess) { \
std::cerr << "AMD RPP: HIP Error Reported -- " << hipGetErrorString(status) << std::endl; \
return status; \
} \
}
- Error check after launching -
hipLaunchKernelGGL
HIP_CHECK(hipGetLastError()); // Check for launch error
Operating System
All
CPU
All
GPU
Other
Other
All ROCm supported GPUs
ROCm Version
ROCm 6.0.0
ROCm Component
rpp
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request