From 5e08b58b310ca4325ae9d68ed4da72e940bcedb0 Mon Sep 17 00:00:00 2001 From: Hashim Sharif <hsharif3@tyler.cs.illinois.edu> Date: Fri, 3 Apr 2020 03:49:00 -0500 Subject: [PATCH] Moving print msg to DEBUG macro --- llvm/projects/hpvm-tensor-rt/tensor_runtime/src/tensor_utils.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/projects/hpvm-tensor-rt/tensor_runtime/src/tensor_utils.cu b/llvm/projects/hpvm-tensor-rt/tensor_runtime/src/tensor_utils.cu index 1d84843033..b68f7571cf 100644 --- a/llvm/projects/hpvm-tensor-rt/tensor_runtime/src/tensor_utils.cu +++ b/llvm/projects/hpvm-tensor-rt/tensor_runtime/src/tensor_utils.cu @@ -116,7 +116,7 @@ void allocateMem(struct Tensor* tensor, int data_type, size_t num_elems){ tensor->host_data = (void*) malloc(size_on_host); // Allocate memory on the host tensor->data_placement = HOST; // By defaut data is on the host - //printf("Allocating Sizes = %lu \n", tensor->size_in_bytes); + DEBUG("Attempting to Allocate = %lu \n\n\n", tensor->size_in_bytes); if (isFP16Compound(data_type)) { // Allocate FP16-like -- GitLab