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