diff --git a/offloading-cacher/main.cpp b/offloading-cacher/main.cpp index e67eb22..4310d3d 100644 --- a/offloading-cacher/main.cpp +++ b/offloading-cacher/main.cpp @@ -65,7 +65,7 @@ void PerformAccessAndTest(double* src, const size_t size) { std::cout << "Caching did not affect data location." << std::endl; } else if (cached == nullptr) { - std::cout << "Got nullptr from cache." << std::endl; + std::cerr << "Got nullptr from cache." << std::endl; } else { std::cout << "Got different data location from cache." << std::endl; @@ -75,7 +75,7 @@ void PerformAccessAndTest(double* src, const size_t size) { std::cout << "Cached data is correct." << std::endl; } else { - std::cout << "Cached data is wrong." << std::endl; + std::cerr << "Cached data is wrong." << std::endl; } }