SWDEV-275317 - Fix hipMemcpy2DFromArray to return proper error types

Change-Id: Id722865d81460bfd2fa6ad7a198b6e3c2a08265a
This commit is contained in:
Satyanvesh Dittakavi
2021-03-08 07:48:24 -08:00
parent 55377dfee2
commit daafd303ec
4 changed files with 16 additions and 0 deletions
+1
View File
@@ -218,6 +218,7 @@ typedef enum __HIP_NODISCARD hipError_t {
hipErrorProfilerAlreadyStarted = 7,
hipErrorProfilerAlreadyStopped = 8,
hipErrorInvalidConfiguration = 9,
hipErrorInvalidPitchValue = 12,
hipErrorInvalidSymbol = 13,
hipErrorInvalidDevicePointer = 17, ///< Invalid Device Pointer
hipErrorInvalidMemcpyDirection = 21, ///< Invalid memory copy direction