From 87b71e63006e3486dd5e5970392377c675dddfd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20F=C3=BCrst?= Date: Thu, 8 Feb 2024 15:24:15 +0100 Subject: [PATCH] remove warings for weak access failure --- offloading-cacher/cache.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/offloading-cacher/cache.hpp b/offloading-cacher/cache.hpp index 98d07b6..c135430 100755 --- a/offloading-cacher/cache.hpp +++ b/offloading-cacher/cache.hpp @@ -393,7 +393,6 @@ inline std::unique_ptr dsacache::Cache::Access(uint8_t* dat // data source location if (CheckFlag(flags, FLAG_ACCESS_WEAK)) { - std::cerr << "[x] WEAK ACCESS FAILED!" << std::endl; task->SetCacheToSource(); return std::move(task); } @@ -778,7 +777,6 @@ inline void dsacache::CacheData::WaitOnCompletion() { for (auto& handler : *local_handlers) { if (CheckFlag(flags_, FLAG_WAIT_WEAK) && !handler.is_finished()) { - std::cerr << "[x] WEAK WAIT FAIL!" << std::endl; handlers_->store(local_handlers); return; } @@ -786,8 +784,6 @@ inline void dsacache::CacheData::WaitOnCompletion() { auto result = handler.get(); if (result.status != dml::status_code::ok) { - // if one of the copy tasks failed we abort the whole task - // after all operations are completed on it std::cerr << "[x] ERROR (" << dml::StatusCodeToString(result.status) << ") FOUND FOR TASK IN WAIT!" << std::endl; error = true; }