From b60c149b177060ff35a8bd203781d7c84c5a9f36 Mon Sep 17 00:00:00 2001 From: Mahesh Doijade Date: Fri, 22 May 2020 22:33:02 +0530 Subject: [PATCH] Correct the runtime API section in documentation when sample has both driver as well as runtime API --- Samples/cudaCompressibleMemory/README.md | 4 +++- Samples/simpleDrvRuntime/README.md | 4 +++- Samples/simpleVulkanMMAP/README.md | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Samples/cudaCompressibleMemory/README.md b/Samples/cudaCompressibleMemory/README.md index d927f641..6f59ac2c 100644 --- a/Samples/cudaCompressibleMemory/README.md +++ b/Samples/cudaCompressibleMemory/README.md @@ -23,7 +23,9 @@ x86_64, ppc64le ## CUDA APIs involved ### [CUDA Driver API](http://docs.nvidia.com/cuda/cuda-driver-api/index.html) -cuMemAlloc, cuMemFree, cuDeviceGetAttribute, cuMemGetAllocationGranularity, cuMemAddressReserve, cuMemCreate, cuMemMap, cuMemSetAccess, cuMemUnmap, cuMemAddressFree### [CUDA Runtime API](http://docs.nvidia.com/cuda/cuda-runtime-api/index.html) +cuMemAlloc, cuMemFree, cuDeviceGetAttribute, cuMemGetAllocationGranularity, cuMemAddressReserve, cuMemCreate, cuMemMap, cuMemSetAccess, cuMemUnmap, cuMemAddressFree + +### [CUDA Runtime API](http://docs.nvidia.com/cuda/cuda-runtime-api/index.html) cudaMalloc, cudaFree ## Prerequisites diff --git a/Samples/simpleDrvRuntime/README.md b/Samples/simpleDrvRuntime/README.md index 45233aed..28abd337 100644 --- a/Samples/simpleDrvRuntime/README.md +++ b/Samples/simpleDrvRuntime/README.md @@ -23,7 +23,9 @@ x86_64, ppc64le, armv7l ## CUDA APIs involved ### [CUDA Driver API](http://docs.nvidia.com/cuda/cuda-driver-api/index.html) -cuModuleLoadData, cuModuleGetFunction, cuLaunchKernel### [CUDA Runtime API](http://docs.nvidia.com/cuda/cuda-runtime-api/index.html) +cuModuleLoadData, cuModuleGetFunction, cuLaunchKernel + +### [CUDA Runtime API](http://docs.nvidia.com/cuda/cuda-runtime-api/index.html) cudaMemcpy, cudaMalloc, cudaStreamCreateWithFlags ## Prerequisites diff --git a/Samples/simpleVulkanMMAP/README.md b/Samples/simpleVulkanMMAP/README.md index 42a9c554..1406bb14 100644 --- a/Samples/simpleVulkanMMAP/README.md +++ b/Samples/simpleVulkanMMAP/README.md @@ -23,7 +23,9 @@ x86_64, aarch64 ## CUDA APIs involved ### [CUDA Driver API](http://docs.nvidia.com/cuda/cuda-driver-api/index.html) -cuDeviceGetAttribute, cuMemAddressReserve, cuMemCreate, cuMemRelease, cuCtxSetCurrent, cuMemExportToShareableHandle, cuMemImportFromShareableHandle, cuMemMap, cuMemSetAccess, cuMemUnmap, cuMemAddressFree### [CUDA Runtime API](http://docs.nvidia.com/cuda/cuda-runtime-api/index.html) +cuDeviceGetAttribute, cuMemAddressReserve, cuMemCreate, cuMemRelease, cuCtxSetCurrent, cuMemExportToShareableHandle, cuMemImportFromShareableHandle, cuMemMap, cuMemSetAccess, cuMemUnmap, cuMemAddressFree + +### [CUDA Runtime API](http://docs.nvidia.com/cuda/cuda-runtime-api/index.html) cudaGetDeviceProperties, cudaImportExternalMemory, cudaExternalMemoryGetMappedBuffer, cudaImportExternalSemaphore, cudaImportExternalSemaphore, cudaSignalExternalSemaphoresAsync, cudaWaitExternalSemaphoresAsync, cudaDestroyExternalSemaphore, cudaDestroyExternalMemory ## Dependencies needed to build/run