Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class device_global_base {

#ifndef __SYCL_DEVICE_ONLY__
template <typename OtherT, typename OtherProps>
static constexpr const T &
static constexpr const OtherT &
ExtractInitialVal(const device_global_base<OtherT, OtherProps> &Other) {
if constexpr (OtherProps::template has_property<device_image_scope_key>())
return Other.val;
Expand Down