Add __assert_fail, __device_trap and hipErrorAssert for clang

This commit is contained in:
Yaxun (Sam) Liu
2018-05-08 15:36:01 -04:00
vanhempi fea366cc89
commit 7672b44c79
2 muutettua tiedostoa jossa 18 lisäystä ja 0 poistoa
+2
Näytä tiedosto
@@ -243,6 +243,8 @@ typedef enum __HIP_NODISCARD hipError_t {
1062, ///< Produced when trying to unlock a non-page-locked memory.
hipErrorMapBufferObjectFailed =
1071, ///< Produced when the IPC memory attach failed from ROCr.
hipErrorAssert =
1081, ///< Produced when the kernel calls assert.
hipErrorTbd ///< Marker that more error codes are needed.
} hipError_t;