[flang][cuda] Fix definition of CUFSetAllocatorIndex (#148778)

This commit is contained in:
Valentin Clement (バレンタイン クレメン) 2025-07-14 21:26:43 -07:00 committed by GitHub
parent 9ba45c5c5e
commit 9e9fdd433a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ void RTDEF(CUFDescriptorCheckSection)(
}
void RTDEF(CUFSetAllocatorIndex)(
Descriptor *, int index, const char *sourceFile, int sourceLine) {
Descriptor *desc, int index, const char *sourceFile, int sourceLine) {
if (!desc) {
Terminator terminator{sourceFile, sourceLine};
terminator.Crash("descriptor is null");