gpu_stream.hpp File Reference
#include <opm/common/ErrorMacros.hpp>
#include <cuda_runtime.h>
#include <format>
#include <source_location>
#include <stdexcept>
#include <string_view>
Include dependency graph for gpu_stream.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Opm
 
namespace  Opm::gpuistl
 A small, fixed‑dimension MiniVector class backed by std::array that can be used in both host and CUDA device code.
 
namespace  Opm::gpuistl::detail
 

Macros

#define OPM_GPUISTL_DETAIL_ASSERT_GPU_STREAM(x)   ::Opm::gpuistl::detail::assertGPUStream((x), #x)
 Captures the argument name for assertCudaStream (call site via source_location). More...
 

Functions

void Opm::gpuistl::detail::assertGPUStream (cudaStream_t stream, std::string_view name, const std::source_location location=std::source_location::current())
 Debug-only check that stream is a valid GPU stream handle. More...
 

Macro Definition Documentation

◆ OPM_GPUISTL_DETAIL_ASSERT_GPU_STREAM

#define OPM_GPUISTL_DETAIL_ASSERT_GPU_STREAM (   x)    ::Opm::gpuistl::detail::assertGPUStream((x), #x)

Captures the argument name for assertCudaStream (call site via source_location).