Skip to content

Commit d1ca984

Browse files
authored
[flang][cuda] Fix unittest (llvm#150136)
1 parent c3c72c1 commit d1ca984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang-rt/unittests/Runtime/CUDA/AllocatorCUF.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ TEST(AllocatableCUFTest, CUFSetAllocatorIndex) {
7979
// REAL(4), DEVICE, ALLOCATABLE :: a(:)
8080
auto a{createAllocatable(TypeCategory::Real, 4)};
8181
EXPECT_EQ((int)kDefaultAllocator, a->GetAllocIdx());
82-
RTNAME(CUFSetAllocatorIndex)(*a, kDeviceAllocatorPos, __FILE__, __LINE__);
82+
RTNAME(CUFSetAllocatorIndex)(a, kDeviceAllocatorPos, __FILE__, __LINE__);
8383
EXPECT_EQ((int)kDeviceAllocatorPos, a->GetAllocIdx());
8484
}

0 commit comments

Comments
 (0)