At the moment, when constructing a CUDA runtime error (or RTC runtime error), one can specify a string to use in the what() method, but that string is always suffixed by : Description of status code. Sometimes we may not wish to present this suffix, since the string is explanation enough. Let's allow constructing runtime errors that way.
At the moment, when constructing a CUDA runtime error (or RTC runtime error), one can specify a string to use in the
what()
method, but that string is always suffixed by: Description of status code
. Sometimes we may not wish to present this suffix, since the string is explanation enough. Let's allow constructing runtime errors that way.