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 f1b0700 commit 7203d6aCopy full SHA for 7203d6a
plugin/sycl/common/optional_weight.cc
@@ -32,7 +32,7 @@ double SumOptionalWeights(Context const* ctx, OptionalWeights const& weights) {
32
sycl::DeviceManager device_manager;
33
auto* qu = device_manager.GetQueue(ctx->Device());
34
35
- book has_fp64_support = qu->get_device().has(::sycl::aspect::fp64);
+ bool has_fp64_support = qu->get_device().has(::sycl::aspect::fp64);
36
if (has_fp64_support) {
37
return ElementWiseSum<double>(qu, weights);
38
} else {
0 commit comments