Correct the runtime API section in documentation when sample has both driver as well as runtime API

This commit is contained in:
Mahesh Doijade 2020-05-22 22:33:02 +05:30
parent 56b5b4c767
commit b60c149b17
3 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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