/* * Copyright (C) 2024 Intel Corporation. All rights reserved. * Authors: * Gustavo A Espinoza * * * For conditions of distribution and use, see copyright notice in zlib.h */ #include #include #include #include "memory.hpp" #include "qat.hpp" namespace qat { void *Alloc(size_t size_bytes, uint32_t numa_node) { return qaeMemAllocNUMA(size_bytes, numa_node, 1); } void Free(void *ptr) { qaeMemFreeNUMA(&ptr); } }