// AUTOGENERATED COPYRIGHT HEADER START
// Copyright (C) 2017-2023 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
// AUTOGENERATED COPYRIGHT HEADER END

#pragma once
#include "nvidia-cuda.hpp"

#include "warning-disable.hpp"
#include <cstddef>
#include <memory>
#include "warning-enable.hpp"

namespace streamfx::nvidia::cuda {
	class memory {
		std::shared_ptr<::streamfx::nvidia::cuda::cuda> _cuda;
		device_ptr_t                                    _pointer;
		size_t                                          _size;

		public:
		~memory();
		memory(size_t size);

		device_ptr_t get();

		std::size_t size();
	};
} // namespace streamfx::nvidia::cuda
