From 28dcacdd4b0b4f3b8f5eb547130ad52e4e00be20 Mon Sep 17 00:00:00 2001 From: Olivier BICHLER <olivier.bichler@cea.fr> Date: Thu, 7 Dec 2023 10:57:38 +0100 Subject: [PATCH] Clarified spec --- include/aidge/backend/TensorImpl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/aidge/backend/TensorImpl.hpp b/include/aidge/backend/TensorImpl.hpp index 1aabd7b2b..34fcd6a33 100644 --- a/include/aidge/backend/TensorImpl.hpp +++ b/include/aidge/backend/TensorImpl.hpp @@ -93,7 +93,7 @@ public: virtual const void* hostPtr() const { return nullptr; }; /** - * Sets the device pointer. + * Sets the device pointer. The previously owned data is deleted. * UNSAFE: directly setting the device pointer may lead to undefined behavior * if it does not match the required storage. * @param ptr A valid device pointer. -- GitLab