Skip to content

Commit

Permalink
Add reference to cudaMallocFromPoolAsync to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Apr 24, 2024
1 parent f1b0228 commit 2050071
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class cuda_async_memory_resource
}

/**
* @brief Allocate device memory of size at least \p __bytes.
* @brief Allocate device memory of size at least \p __bytes via cudaMallocFromPoolAsync.
* @param __bytes The size in bytes of the allocation.
* @param __alignment The requested alignment of the allocation.
* @param __stream Stream on which to perform allocation.
Expand All @@ -146,7 +146,7 @@ class cuda_async_memory_resource
}

/**
* @brief Allocate device memory of size at least \p __bytes.
* @brief Allocate device memory of size at least \p __bytes via cudaMallocFromPoolAsync.
* @param __bytes The size in bytes of the allocation.
* @param __stream Stream on which to perform allocation.
* @throws cuda::cuda_error of the returned error code.
Expand Down

0 comments on commit 2050071

Please sign in to comment.