Skip to content

Commit

Permalink
Fixes #568: Now correctly reporting whether or not setting function a…
Browse files Browse the repository at this point in the history
…ttributes is implemented (CUDA >= 9.0 or not)
  • Loading branch information
Eyal Rozenberg committed Jan 2, 2024
1 parent 66b8535 commit 4c52792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cuda/api/multi_wrapper_impls/kernel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_ {
Expand Down

0 comments on commit 4c52792

Please sign in to comment.