Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Sycl::detail::DeviceArrayDeleter Class Reference

Deleter functor for the smart pointer type(s) More...

#include <acts/blob/sPHENIX/Plugins/Sycl/src/Utilities/Arrays.hpp>

Public Member Functions

 DeviceArrayDeleter (cl::sycl::queue &queue)
 Constructor, with the queue that the memory was allocated on/with.
 
void operator() (void *ptr)
 Operator performing the deletion of the memory.
 

Private Attributes

cl::sycl::queue * m_queue
 The queue that manages the memory area in question.
 

Detailed Description

Deleter functor for the smart pointer type(s)

Definition at line 23 of file Arrays.hpp.

View newest version in sPHENIX GitHub at line 23 of file Arrays.hpp

Constructor & Destructor Documentation

Acts::Sycl::detail::DeviceArrayDeleter::DeviceArrayDeleter ( cl::sycl::queue &  queue)
inline

Constructor, with the queue that the memory was allocated on/with.

Definition at line 26 of file Arrays.hpp.

View newest version in sPHENIX GitHub at line 26 of file Arrays.hpp

Member Function Documentation

void Acts::Sycl::detail::DeviceArrayDeleter::operator() ( void *  ptr)
inline

Operator performing the deletion of the memory.

Definition at line 28 of file Arrays.hpp.

View newest version in sPHENIX GitHub at line 28 of file Arrays.hpp

References m_queue.

Member Data Documentation

cl::sycl::queue* Acts::Sycl::detail::DeviceArrayDeleter::m_queue
private

The queue that manages the memory area in question.

Definition at line 36 of file Arrays.hpp.

View newest version in sPHENIX GitHub at line 36 of file Arrays.hpp

Referenced by operator()().


The documentation for this class was generated from the following file: