fix ../tests/cpp/common/test_span.h
This commit is contained in:
parent
364df7db0f
commit
8207015e48
@ -99,7 +99,7 @@ struct TestRBeginREnd {
|
|||||||
|
|
||||||
Span<float> s (arr);
|
Span<float> s (arr);
|
||||||
|
|
||||||
#if defined(__CUDA_ARCH__)
|
#if defined(__CUDA_ARCH__) || defined(__HIP_PLATFORM_AMD__)
|
||||||
auto rbeg = dh::trbegin(s);
|
auto rbeg = dh::trbegin(s);
|
||||||
auto rend = dh::trend(s);
|
auto rend = dh::trend(s);
|
||||||
#else
|
#else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user