Home
last modified time | relevance | path

Searched refs:m_scratchFlags (Results 1 – 18 of 18) sorted by relevance

/dports/science/lammps/lammps-stable_29Sep2021/lib/kokkos/core/src/SYCL/
H A DKokkos_SYCL_Instance.cpp62 if (!was_finalized || m_scratchSpace || m_scratchFlags || in ~SYCLInternal()
115 const bool ok_init = nullptr == m_scratchSpace || nullptr == m_scratchFlags; in initialize()
174 if (nullptr != m_scratchFlags) in finalize()
175 RecordSYCL::decrement(RecordSYCL::get_record(m_scratchFlags)); in finalize()
180 m_scratchFlags = nullptr; in finalize()
233 if (nullptr != m_scratchFlags) in scratch_flags()
234 Record::decrement(Record::get_record(m_scratchFlags)); in scratch_flags()
243 m_scratchFlags = reinterpret_cast<size_type*>(r->data()); in scratch_flags()
245 m_queue->memset(m_scratchFlags, 0, m_scratchFlagsCount * sizeScratchGrain); in scratch_flags()
248 return m_scratchFlags; in scratch_flags()
H A DKokkos_SYCL_Instance.hpp82 size_type* m_scratchFlags = nullptr; member in Kokkos::Experimental::Impl::SYCLInternal
/dports/devel/kokkos/kokkos-3.4.01/core/src/SYCL/
H A DKokkos_SYCL_Instance.cpp62 if (!was_finalized || m_scratchSpace || m_scratchFlags || in ~SYCLInternal()
115 const bool ok_init = nullptr == m_scratchSpace || nullptr == m_scratchFlags; in initialize()
174 if (nullptr != m_scratchFlags) in finalize()
175 RecordSYCL::decrement(RecordSYCL::get_record(m_scratchFlags)); in finalize()
180 m_scratchFlags = nullptr; in finalize()
233 if (nullptr != m_scratchFlags) in scratch_flags()
234 Record::decrement(Record::get_record(m_scratchFlags)); in scratch_flags()
243 m_scratchFlags = reinterpret_cast<size_type*>(r->data()); in scratch_flags()
245 m_queue->memset(m_scratchFlags, 0, m_scratchFlagsCount * sizeScratchGrain); in scratch_flags()
248 return m_scratchFlags; in scratch_flags()
H A DKokkos_SYCL_Instance.hpp82 size_type* m_scratchFlags = nullptr; member in Kokkos::Experimental::Impl::SYCLInternal
/dports/science/sparta/sparta-20Oct2021/lib/kokkos/core/src/SYCL/
H A DKokkos_SYCL_Instance.cpp62 if (!was_finalized || m_scratchSpace || m_scratchFlags || in ~SYCLInternal()
115 const bool ok_init = nullptr == m_scratchSpace || nullptr == m_scratchFlags; in initialize()
174 if (nullptr != m_scratchFlags) in finalize()
175 RecordSYCL::decrement(RecordSYCL::get_record(m_scratchFlags)); in finalize()
180 m_scratchFlags = nullptr; in finalize()
233 if (nullptr != m_scratchFlags) in scratch_flags()
234 Record::decrement(Record::get_record(m_scratchFlags)); in scratch_flags()
243 m_scratchFlags = reinterpret_cast<size_type*>(r->data()); in scratch_flags()
245 m_queue->memset(m_scratchFlags, 0, m_scratchFlagsCount * sizeScratchGrain); in scratch_flags()
248 return m_scratchFlags; in scratch_flags()
H A DKokkos_SYCL_Instance.hpp82 size_type* m_scratchFlags = nullptr; member in Kokkos::Experimental::Impl::SYCLInternal
/dports/science/lammps/lammps-stable_29Sep2021/lib/kokkos/core/src/HIP/
H A DKokkos_HIP_Instance.cpp128 if (m_scratchSpace || m_scratchFlags || m_scratchConcurrentBitset) { in ~HIPInternal()
144 m_scratchFlags = nullptr; in ~HIPInternal()
188 const bool ok_init = nullptr == m_scratchSpace || nullptr == m_scratchFlags; in initialize()
332 if (m_scratchFlags) Record::decrement(Record::get_record(m_scratchFlags)); in scratch_flags()
340 m_scratchFlags = reinterpret_cast<size_type *>(r->data()); in scratch_flags()
343 hipMemset(m_scratchFlags, 0, m_scratchFlagsCount * sizeScratchGrain)); in scratch_flags()
346 return m_scratchFlags; in scratch_flags()
370 if (nullptr != m_scratchSpace || nullptr != m_scratchFlags) { in finalize()
374 RecordHIP::decrement(RecordHIP::get_record(m_scratchFlags)); in finalize()
391 m_scratchFlags = nullptr; in finalize()
H A DKokkos_HIP_Instance.hpp117 size_type *m_scratchFlags = nullptr; member in Kokkos::Experimental::Impl::HIPInternal
/dports/devel/kokkos/kokkos-3.4.01/core/src/HIP/
H A DKokkos_HIP_Instance.cpp128 if (m_scratchSpace || m_scratchFlags || m_scratchConcurrentBitset) { in ~HIPInternal()
144 m_scratchFlags = nullptr; in ~HIPInternal()
188 const bool ok_init = nullptr == m_scratchSpace || nullptr == m_scratchFlags; in initialize()
332 if (m_scratchFlags) Record::decrement(Record::get_record(m_scratchFlags)); in scratch_flags()
340 m_scratchFlags = reinterpret_cast<size_type *>(r->data()); in scratch_flags()
343 hipMemset(m_scratchFlags, 0, m_scratchFlagsCount * sizeScratchGrain)); in scratch_flags()
346 return m_scratchFlags; in scratch_flags()
370 if (nullptr != m_scratchSpace || nullptr != m_scratchFlags) { in finalize()
374 RecordHIP::decrement(RecordHIP::get_record(m_scratchFlags)); in finalize()
391 m_scratchFlags = nullptr; in finalize()
H A DKokkos_HIP_Instance.hpp117 size_type *m_scratchFlags = nullptr; member in Kokkos::Experimental::Impl::HIPInternal
/dports/science/sparta/sparta-20Oct2021/lib/kokkos/core/src/HIP/
H A DKokkos_HIP_Instance.cpp128 if (m_scratchSpace || m_scratchFlags || m_scratchConcurrentBitset) { in ~HIPInternal()
144 m_scratchFlags = nullptr; in ~HIPInternal()
188 const bool ok_init = nullptr == m_scratchSpace || nullptr == m_scratchFlags; in initialize()
332 if (m_scratchFlags) Record::decrement(Record::get_record(m_scratchFlags)); in scratch_flags()
340 m_scratchFlags = reinterpret_cast<size_type *>(r->data()); in scratch_flags()
343 hipMemset(m_scratchFlags, 0, m_scratchFlagsCount * sizeScratchGrain)); in scratch_flags()
346 return m_scratchFlags; in scratch_flags()
370 if (nullptr != m_scratchSpace || nullptr != m_scratchFlags) { in finalize()
374 RecordHIP::decrement(RecordHIP::get_record(m_scratchFlags)); in finalize()
391 m_scratchFlags = nullptr; in finalize()
H A DKokkos_HIP_Instance.hpp117 size_type *m_scratchFlags = nullptr; member in Kokkos::Experimental::Impl::HIPInternal
/dports/science/lammps/lammps-stable_29Sep2021/lib/kokkos/core/src/Cuda/
H A DKokkos_Cuda_Instance.hpp112 mutable size_type* m_scratchFlags; member in Kokkos::Impl::CudaInternal
135 return nullptr != m_scratchSpace && nullptr != m_scratchFlags; in is_initialized()
173 m_scratchFlags(nullptr), in CudaInternal()
H A DKokkos_Cuda_Instance.cpp274 if (m_stream || m_scratchSpace || m_scratchFlags || m_scratchUnified || in ~CudaInternal()
293 m_scratchFlags = nullptr; in ~CudaInternal()
336 const bool ok_init = nullptr == m_scratchSpace || nullptr == m_scratchFlags;
/dports/devel/kokkos/kokkos-3.4.01/core/src/Cuda/
H A DKokkos_Cuda_Instance.hpp112 mutable size_type* m_scratchFlags; member in Kokkos::Impl::CudaInternal
135 return nullptr != m_scratchSpace && nullptr != m_scratchFlags; in is_initialized()
173 m_scratchFlags(nullptr), in CudaInternal()
H A DKokkos_Cuda_Instance.cpp274 if (m_stream || m_scratchSpace || m_scratchFlags || m_scratchUnified || in ~CudaInternal()
293 m_scratchFlags = nullptr; in ~CudaInternal()
336 const bool ok_init = nullptr == m_scratchSpace || nullptr == m_scratchFlags;
/dports/science/sparta/sparta-20Oct2021/lib/kokkos/core/src/Cuda/
H A DKokkos_Cuda_Instance.hpp112 mutable size_type* m_scratchFlags; member in Kokkos::Impl::CudaInternal
135 return nullptr != m_scratchSpace && nullptr != m_scratchFlags; in is_initialized()
173 m_scratchFlags(nullptr), in CudaInternal()
H A DKokkos_Cuda_Instance.cpp274 if (m_stream || m_scratchSpace || m_scratchFlags || m_scratchUnified || in ~CudaInternal()
293 m_scratchFlags = nullptr; in ~CudaInternal()
336 const bool ok_init = nullptr == m_scratchSpace || nullptr == m_scratchFlags;