FreeTensor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
freetensor::ArrayCopy Struct Reference

#include <array.h>

Collaboration diagram for freetensor::ArrayCopy:
Collaboration graph
[legend]

Public Member Functions

 ArrayCopy (const Ref< Device > &device, uint8_t *ptr, bool borrowed)
 

Public Attributes

Ref< Devicedevice_
 
uint8_t * ptr_ = nullptr
 
bool borrowed_ = false
 

Detailed Description

A copy of Array store on a specific device

Constructor & Destructor Documentation

◆ ArrayCopy()

freetensor::ArrayCopy::ArrayCopy ( const Ref< Device > &  device,
uint8_t *  ptr,
bool  borrowed 
)
inline

Member Data Documentation

◆ borrowed_

bool freetensor::ArrayCopy::borrowed_ = false

◆ device_

Ref<Device> freetensor::ArrayCopy::device_

◆ ptr_

uint8_t* freetensor::ArrayCopy::ptr_ = nullptr

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