[flang][cuda] Fix definition of CUFSetAllocatorIndex (#148778)
This commit is contained in:
parent
9ba45c5c5e
commit
9e9fdd433a
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user