We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb1ecb commit 1a8997bCopy full SHA for 1a8997b
flang-rt/unittests/Runtime/CUDA/AllocatorCUF.cpp
@@ -79,6 +79,6 @@ TEST(AllocatableCUFTest, CUFSetAllocatorIndex) {
79
// REAL(4), DEVICE, ALLOCATABLE :: a(:)
80
auto a{createAllocatable(TypeCategory::Real, 4)};
81
EXPECT_EQ((int)kDefaultAllocator, a->GetAllocIdx());
82
- RTNAME(CUFSetAllocatorIndex)(*a, kDeviceAllocatorPos, __FILE__, __LINE__);
+ RTNAME(CUFSetAllocatorIndex)(a, kDeviceAllocatorPos, __FILE__, __LINE__);
83
EXPECT_EQ((int)kDeviceAllocatorPos, a->GetAllocIdx());
84
}
0 commit comments