Skip to content

Commit 9e9fdd4

Browse files
authored
[flang][cuda] Fix definition of CUFSetAllocatorIndex (#148778)
1 parent 9ba45c5 commit 9e9fdd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang-rt/lib/cuda/descriptor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void RTDEF(CUFDescriptorCheckSection)(
6363
}
6464

6565
void RTDEF(CUFSetAllocatorIndex)(
66-
Descriptor *, int index, const char *sourceFile, int sourceLine) {
66+
Descriptor *desc, int index, const char *sourceFile, int sourceLine) {
6767
if (!desc) {
6868
Terminator terminator{sourceFile, sourceLine};
6969
terminator.Crash("descriptor is null");

0 commit comments

Comments
 (0)