Skip to content

Commit

Permalink
gpu: fix clang-tidy hit
Browse files Browse the repository at this point in the history
  • Loading branch information
densamoilov committed Oct 28, 2022
1 parent 16c0a95 commit 5f69dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpu/compute/device_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ status_t device_info_t::init_from_cache_blob(
static_assert(std::is_same<std::remove_reference<decltype(val)>::type, \
expected_type>::value, \
#val " has incorrect type"); \
val = *reinterpret_cast<const expected_type *>(cache_blob.data() + pos); \
(val) = *reinterpret_cast<const expected_type *>(cache_blob.data() + pos); \
pos += sizeof(expected_type);

DESERIALIZE(gpu_arch_, compute::gpu_arch_t);
Expand Down

0 comments on commit 5f69dad

Please sign in to comment.