From 91252201cebf120dbd277980a293d11ed7056139 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Tue, 9 Feb 2021 19:20:30 +0000 Subject: [PATCH] updating single include --- single_include/kompute/Kompute.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/single_include/kompute/Kompute.hpp b/single_include/kompute/Kompute.hpp index 722a625ab..f3ebd990d 100755 --- a/single_include/kompute/Kompute.hpp +++ b/single_include/kompute/Kompute.hpp @@ -1535,7 +1535,7 @@ class Manager tensor->init(this->mPhysicalDevice, this->mDevice); if (syncDataToGPU) { - this->evalOpDefault({tensor}); + this->evalOpDefault({ tensor }); } this->mManagedTensors.insert(tensor); @@ -1553,7 +1553,8 @@ class Manager * @param syncDataToGPU Whether to sync the data to GPU memory * @returns Initialized Tensor with memory Syncd to GPU device */ - void rebuildTensors(std::vector> tensors, bool syncDataToGPU = true) + void rebuildTensors(std::vector> tensors, + bool syncDataToGPU = true) { SPDLOG_DEBUG("Kompute Manager rebuildTensors triggered"); for (std::shared_ptr tensor : tensors) {