#ifndef XPU_OCL_MEMORY_STORAGE_BASE_HPP
#define XPU_OCL_MEMORY_STORAGE_BASE_HPP
#include "common/memory_storage.hpp"
#include "xpu/ocl/c_types_map.hpp"
namespace dnnl {
namespace impl {
namespace xpu {
namespace ocl {
class memory_storage_base_t : public impl::memory_storage_t {
public:
memory_storage_base_t(
impl::engine_t *engine, const memory_storage_t *root_storage)
: impl::memory_storage_t(engine, root_storage) {}
memory_storage_base_t(impl::engine_t *engine)
: memory_storage_base_t(engine, this) {}
virtual memory_kind_t memory_kind() const = 0;
};
} } } }
#endif