@@ -23,7 +23,7 @@ namespace Fortran::runtime::cuda {
2323extern " C" {
2424RT_EXT_API_GROUP_BEGIN
2525
26- int RTDEF (CUFAllocatableAllocateSync)(Descriptor &desc, int64_t stream,
26+ int RTDEF (CUFAllocatableAllocateSync)(Descriptor &desc, int64_t * stream,
2727 bool *pinned, bool hasStat, const Descriptor *errMsg,
2828 const char *sourceFile, int sourceLine) {
2929 int stat{RTNAME (CUFAllocatableAllocate)(
@@ -41,7 +41,7 @@ int RTDEF(CUFAllocatableAllocateSync)(Descriptor &desc, int64_t stream,
4141 return stat;
4242}
4343
44- int RTDEF (CUFAllocatableAllocate)(Descriptor &desc, int64_t stream,
44+ int RTDEF (CUFAllocatableAllocate)(Descriptor &desc, int64_t * stream,
4545 bool *pinned, bool hasStat, const Descriptor *errMsg,
4646 const char *sourceFile, int sourceLine) {
4747 if (desc.HasAddendum ()) {
@@ -63,7 +63,7 @@ int RTDEF(CUFAllocatableAllocate)(Descriptor &desc, int64_t stream,
6363}
6464
6565int RTDEF (CUFAllocatableAllocateSource)(Descriptor &alloc,
66- const Descriptor &source, int64_t stream, bool *pinned, bool hasStat,
66+ const Descriptor &source, int64_t * stream, bool *pinned, bool hasStat,
6767 const Descriptor *errMsg, const char *sourceFile, int sourceLine) {
6868 int stat{RTNAME (CUFAllocatableAllocate)(
6969 alloc, stream, pinned, hasStat, errMsg, sourceFile, sourceLine)};
@@ -76,7 +76,7 @@ int RTDEF(CUFAllocatableAllocateSource)(Descriptor &alloc,
7676}
7777
7878int RTDEF (CUFAllocatableAllocateSourceSync)(Descriptor &alloc,
79- const Descriptor &source, int64_t stream, bool *pinned, bool hasStat,
79+ const Descriptor &source, int64_t * stream, bool *pinned, bool hasStat,
8080 const Descriptor *errMsg, const char *sourceFile, int sourceLine) {
8181 int stat{RTNAME (CUFAllocatableAllocateSync)(
8282 alloc, stream, pinned, hasStat, errMsg, sourceFile, sourceLine)};
0 commit comments