Add __assert_fail, __device_trap and hipErrorAssert for clang

Tá an tiomantas seo le fáil i:
Yaxun (Sam) Liu
2018-05-08 15:36:01 -04:00
tuismitheoir fea366cc89
tiomantas 7672b44c79
D'athraigh 2 comhad le 18 breiseanna agus 0 scriosta
+2
Féach ar an gComhad
@@ -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;