Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/nvexec/stream/common.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -878,9 +878,9 @@ namespace nvexec {
inline constexpr _strm::get_stream_t get_stream{};

#if CUDART_VERSION >= 13'00'0
__host__ cudaError_t cudaMemPrefetchAsync(const void *devPtr, size_t count,
int dstDevice,
cudaStream_t stream = 0) {
__host__ inline cudaError_t cudaMemPrefetchAsync(const void *devPtr,
size_t count, int dstDevice,
cudaStream_t stream = 0) {
return ::cudaMemPrefetchAsync(
devPtr, count, {.type = cudaMemLocationTypeDevice, .id = dstDevice}, 0,
stream);
Expand Down
Loading