@@ -23,7 +23,7 @@ namespace Fortran::runtime::cuda {
23
23
extern " C" {
24
24
RT_EXT_API_GROUP_BEGIN
25
25
26
- int RTDEF (CUFAllocatableAllocateSync)(Descriptor &desc, int64_t stream,
26
+ int RTDEF (CUFAllocatableAllocateSync)(Descriptor &desc, int64_t * stream,
27
27
bool *pinned, bool hasStat, const Descriptor *errMsg,
28
28
const char *sourceFile, int sourceLine) {
29
29
int stat{RTNAME (CUFAllocatableAllocate)(
@@ -41,7 +41,7 @@ int RTDEF(CUFAllocatableAllocateSync)(Descriptor &desc, int64_t stream,
41
41
return stat;
42
42
}
43
43
44
- int RTDEF (CUFAllocatableAllocate)(Descriptor &desc, int64_t stream,
44
+ int RTDEF (CUFAllocatableAllocate)(Descriptor &desc, int64_t * stream,
45
45
bool *pinned, bool hasStat, const Descriptor *errMsg,
46
46
const char *sourceFile, int sourceLine) {
47
47
if (desc.HasAddendum ()) {
@@ -63,7 +63,7 @@ int RTDEF(CUFAllocatableAllocate)(Descriptor &desc, int64_t stream,
63
63
}
64
64
65
65
int 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,
67
67
const Descriptor *errMsg, const char *sourceFile, int sourceLine) {
68
68
int stat{RTNAME (CUFAllocatableAllocate)(
69
69
alloc, stream, pinned, hasStat, errMsg, sourceFile, sourceLine)};
@@ -76,7 +76,7 @@ int RTDEF(CUFAllocatableAllocateSource)(Descriptor &alloc,
76
76
}
77
77
78
78
int 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,
80
80
const Descriptor *errMsg, const char *sourceFile, int sourceLine) {
81
81
int stat{RTNAME (CUFAllocatableAllocateSync)(
82
82
alloc, stream, pinned, hasStat, errMsg, sourceFile, sourceLine)};
0 commit comments