diff --git a/flang/unittests/Runtime/CUDA/Memory.cpp b/flang/unittests/Runtime/CUDA/Memory.cpp index 3492b72aac0919..7c8b7aa5a4d78b 100644 --- a/flang/unittests/Runtime/CUDA/Memory.cpp +++ b/flang/unittests/Runtime/CUDA/Memory.cpp @@ -57,7 +57,8 @@ TEST(MemoryCUFTest, CUFDataTransferDescDesc) { // Create temp array to transfer to device. auto x{MakeArray(std::vector{10}, std::vector{0, 1, 2, 3, 4, 5, 6, 7, 8, 9})}; - RTNAME(CUFDataTransferDescDesc)(dev.get(), x.get(), kHostToDevice, __FILE__, __LINE__); + RTNAME(CUFDataTransferDescDesc) + (dev.get(), x.get(), kHostToDevice, __FILE__, __LINE__); // Retrieve data from device. auto host{MakeArray(std::vector{10},