Definition at line 17 of file ScopedProfiler.h.
◆ ScopedProfiler()
Definition at line 20 of file ScopedProfiler.h.
References ScopedProfiler::active_, and qmcplusplus::cudaErrorCheck().
24 #if defined(ENABLE_CUDA) && !defined(QMC_CUDA2HIP)
cudaErrorCheck(cudaMemcpyAsync(dev_lu.data(), lu.data(), sizeof(decltype(lu)::value_type) *lu.size(), cudaMemcpyHostToDevice, hstream), "cudaMemcpyAsync failed copying log_values to device")
◆ ~ScopedProfiler()
Definition at line 33 of file ScopedProfiler.h.
References ScopedProfiler::active_, and qmcplusplus::cudaErrorCheck().
37 #if defined(ENABLE_CUDA) && !defined(QMC_CUDA2HIP)
cudaErrorCheck(cudaMemcpyAsync(dev_lu.data(), lu.data(), sizeof(decltype(lu)::value_type) *lu.size(), cudaMemcpyHostToDevice, hstream), "cudaMemcpyAsync failed copying log_values to device")
◆ isActive()
◆ active_
The documentation for this class was generated from the following file: