We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f611cb commit 09b9859Copy full SHA for 09b9859
sycl/source/detail/platform_impl.hpp
@@ -76,8 +76,8 @@ class platform_impl {
76
bool is_cuda() const {
77
const string_class CUDA_PLATFORM_STRING = "NVIDIA CUDA BACKEND";
78
const string_class PlatformName =
79
- get_platform_info<string_class, info::platform::version>::get(
80
- MPlatform, getPlugin());
+ get_platform_info<string_class, info::platform::name>::get(MPlatform,
+ getPlugin());
81
return PlatformName == CUDA_PLATFORM_STRING;
82
}
83
0 commit comments