#include <cuda_context.h>
◆ ScopedCudaContext() [1/4]
| cuttlefish::ScopedCudaContext::ScopedCudaContext |
( |
const CudaContext & |
context | ) |
|
|
explicit |
◆ ScopedCudaContext() [2/4]
| ABSL_ATTRIBUTE_NO_SANITIZE_CFI cuttlefish::ScopedCudaContext::ScopedCudaContext |
( |
CUcontext |
ctx, |
|
|
const CudaFunctions * |
cuda, |
|
|
std::recursive_mutex * |
mutex = nullptr |
|
) |
| |
◆ ~ScopedCudaContext()
| ABSL_ATTRIBUTE_NO_SANITIZE_CFI cuttlefish::ScopedCudaContext::~ScopedCudaContext |
( |
| ) |
|
◆ ScopedCudaContext() [3/4]
◆ ScopedCudaContext() [4/4]
◆ ok()
| bool cuttlefish::ScopedCudaContext::ok |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ cuda_
| const CudaFunctions* cuttlefish::ScopedCudaContext::cuda_ = nullptr |
|
private |
◆ lock_
| std::unique_lock<std::recursive_mutex> cuttlefish::ScopedCudaContext::lock_ |
|
private |
◆ push_succeeded_
| bool cuttlefish::ScopedCudaContext::push_succeeded_ = false |
|
private |
The documentation for this class was generated from the following files: