From 40efd5365108b97fc8d6cb93fa1d572a08a93ad5 Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Thu, 18 Mar 2021 17:32:00 +0000 Subject: Remove GLES-related code Change-Id: I208281d6e9ec15f9dba03cfbdc36ba2bf072d592 Signed-off-by: Michele Di Giorgio Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5314 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas --- utils/Utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'utils/Utils.h') diff --git a/utils/Utils.h b/utils/Utils.h index f8c84851b5..e9fbc134b2 100644 --- a/utils/Utils.h +++ b/utils/Utils.h @@ -538,7 +538,7 @@ void save_to_ppm(T &tensor, const std::string &ppm_filename) fs << "P6\n" << width << " " << height << " 255\n"; - // Map buffer if creating a CLTensor/GCTensor + // Map buffer if creating a CLTensor map(tensor, true); switch(tensor.info()->format()) @@ -581,7 +581,7 @@ void save_to_ppm(T &tensor, const std::string &ppm_filename) ARM_COMPUTE_ERROR("Unsupported format"); } - // Unmap buffer if creating a CLTensor/GCTensor + // Unmap buffer if creating a CLTensor unmap(tensor); } catch(const std::ofstream::failure &e) @@ -672,7 +672,7 @@ void load_trained_data(T &tensor, const std::string &filename) throw std::runtime_error("Could not load binary data: " + filename); } - // Map buffer if creating a CLTensor/GCTensor + // Map buffer if creating a CLTensor map(tensor, true); Window window; @@ -692,7 +692,7 @@ void load_trained_data(T &tensor, const std::string &filename) }, in); - // Unmap buffer if creating a CLTensor/GCTensor + // Unmap buffer if creating a CLTensor unmap(tensor); } catch(const std::ofstream::failure &e) -- cgit v1.2.1