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 4c465e8 commit db6a8e3Copy full SHA for db6a8e3
sycl/source/detail/config.hpp
@@ -647,12 +647,12 @@ template <> class SYCLConfig<SYCL_JIT_AMDGCN_PTX_TARGET_CPU> {
647
648
public:
649
static std::string get() {
650
- const std::string DefaultValue{""};
+ std::string DefaultValue{""};
651
652
const char *ValStr = getCachedValue();
653
654
if (!ValStr)
655
- return std::move(DefaultValue);
+ return DefaultValue;
656
657
return std::string{ValStr};
658
}
@@ -675,7 +675,7 @@ template <> class SYCLConfig<SYCL_JIT_AMDGCN_PTX_TARGET_FEATURES> {
675
676
677
678
679
680
681
0 commit comments