MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / swap

Method swap

src/backend/oneapi/Array.hpp:201–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 }
200
201 void swap(Array<T> &other) noexcept {
202 using std::swap;
203 swap(info, other.info);
204 swap(data, other.data);
205 swap(data_dims, other.data_dims);
206 swap(node, other.node);
207 swap(owner, other.owner);
208 }
209
210 Array(const af::dim4 &dims, const af::dim4 &strides, dim_t offset,
211 const T *const in_data, bool is_device = false);

Callers

nothing calls this directly

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected