co-authored by
Aniket Shivam
parent
9b8166e3f0
commit
d572cc1aab
@@ -59,7 +59,7 @@ inline std::ostream &operator<<(std::ostream &out, dim3 d) {
|
||||
|
||||
/// Output operator for CUDA built-in error type
|
||||
inline std::ostream &operator<<(std::ostream &out, cudaError_t error) {
|
||||
#if defined(__NVCC__) || (defined(__clang__) && defined(__CUDA__)) || defined(__CUDACC_RTC__)
|
||||
#if !defined(CUTLASS_PYTHON_HOST_CC)
|
||||
return out << cudaGetErrorString(error);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user