Commit 0acbc86
[Clang-tidy] fix warning in copy_to_sycl_buffer function (#1422)
warning: 'equals<int>' is deprecated: Use equals(const
sham::DeviceScheduler_ptr &, sham::DeviceBuffer<T> &,
sham::DeviceBuffer<T> &, u32 ) instead.
[clang-diagnostic-deprecated-declarations]
280 | return equals(q, buf1, buf2, buf1.size());
| ^
/__w/Shamrock/Shamrock/src/tests/shambackends/DeviceBufferTests.cpp:120:35:
note: in instantiation of function template specialization
'shamalgs::primitives::equals<int>' requested here
120 | REQUIRE(shamalgs::primitives::equals(q, b1, b2));
| ^
/__w/Shamrock/Shamrock/src/shamalgs/include/shamalgs/primitives/equals.hpp:74:7:
note: 'equals<int>' has been explicitly marked deprecated here
74 | [[deprecated(
| ^
---------
Co-authored-by: David--Cléris Timothée <timothee.davidcleris@proton.me>1 parent 74d8c80 commit 0acbc86
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
0 commit comments