diff --git a/include/triton/common/error.h b/include/triton/common/error.h index cf8d308..5c22c19 100644 --- a/include/triton/common/error.h +++ b/include/triton/common/error.h @@ -44,7 +44,8 @@ class Error { INVALID_ARG, UNAVAILABLE, UNSUPPORTED, - ALREADY_EXISTS + ALREADY_EXISTS, + CANCELLED }; explicit Error(Code code = Code::SUCCESS) : code_(code) {}