MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / StreamIter

Method StreamIter

Src/Base/AMReX_GpuUtility.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace Gpu {
22
23StreamIter::StreamIter (int n, bool is_thread_safe) noexcept
24 : m_n(n), m_i(0), m_threadsafe(is_thread_safe), m_sync(true)
25{
26 init();
27}
28
29StreamIter::StreamIter (int n, const StreamItInfo& info, bool is_thread_safe) noexcept
30 : m_n(n), m_i(0), m_threadsafe(is_thread_safe), m_sync(info.device_sync)

Callers

nothing calls this directly

Calls 1

initFunction · 0.50

Tested by

no test coverage detected