diff --git a/src/cuda/api/multi_wrapper_impls/kernel.hpp b/src/cuda/api/multi_wrapper_impls/kernel.hpp index 9cdac8d0..2ae40ce7 100644 --- a/src/cuda/api/multi_wrapper_impls/kernel.hpp +++ b/src/cuda/api/multi_wrapper_impls/kernel.hpp @@ -84,9 +84,9 @@ inline void kernel_t::set_attribute(kernel::attribute_t attribute, kernel::attri throw_if_error_lazy(result, "Setting CUDA device function attribute " + ::std::string(kernel::detail_::attribute_name(attribute)) + - " to value " + ::std::to_string(value) ); - throw(cuda::runtime_error {cuda::status::not_yet_implemented}); + " to value " + ::std::to_string(value)); #endif + throw(cuda::runtime_error {cuda::status::not_yet_implemented}); } namespace detail_ {