[HIP][HIPIFY] Add some missing flags for cooperative launch and occupancy APIs

This commit is contained in:
Aryan Salmanpour
2020-01-30 15:05:53 -05:00
parent 2735b9923f
commit 6e867eacb6
9 changed files with 39 additions and 8 deletions
+4
View File
@@ -255,6 +255,10 @@ typedef enum __HIP_NODISCARD hipError_t {
713, ///< Produced when trying to unlock a non-page-locked memory.
hipErrorLaunchFailure =
719, ///< An exception occurred on the device while executing a kernel.
hipErrorCooperativeLaunchTooLarge =
720, ///< This error indicates that the number of blocks launched per grid for a kernel
///< that was launched via cooperative launch APIs exceeds the maximum number of
///< allowed blocks for the current device
hipErrorNotSupported = 801, ///< Produced when the hip API is not supported/implemented
hipErrorUnknown = 999, //< Unknown error.
// HSA Runtime Error Codes start here.