MCPcopy Create free account
hub / github.com/RenderKit/oidn / cudaWaitExternalSemaphoresAsync

Function cudaWaitExternalSemaphoresAsync

devices/cuda/curtn.cpp:1211–1225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1209 }
1210
1211 cudaError_t CUDARTAPI cudaWaitExternalSemaphoresAsync(const cudaExternalSemaphore_t* extSemArray,
1212 const cudaExternalSemaphoreWaitParams* paramsArray,
1213 unsigned int numExtSems,
1214 cudaStream_t stream)
1215 {
1216 static_assert(sizeof(CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS) == sizeof(cudaExternalSemaphoreWaitParams),
1217 "unexpected size of cudaExternalSemaphoreWaitParams");
1218
1219 CUresult result = cuWaitExternalSemaphoresAsync(
1220 (CUexternalSemaphore*)extSemArray,
1221 (const CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS*)paramsArray,
1222 numExtSems,
1223 stream);
1224 return Runtime::setError(result);
1225 }
1226
1227 cudaError_t CUDARTAPI cudaDestroyExternalSemaphore(cudaExternalSemaphore_t extSem)
1228 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected