Function Pennylane::Util::getMemoryModel

Function Documentation

inline auto Pennylane::Util::getMemoryModel(const void *ptr) -> CPUMemoryModel

Compute alignment of a given data pointer.

Parameters

ptr – Pointer to data

Returns

CPUMemoryModel