From b0bf235cc22b6e3b943e203d966386e4e48ae7f8 Mon Sep 17 00:00:00 2001 From: Philippe Tillet Date: Sat, 31 Jan 2015 22:10:09 -0500 Subject: [PATCH] Reverted strange change on model.cpp --- lib/model/model.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/model/model.cpp b/lib/model/model.cpp index ce9f316b1..7b882e644 100644 --- a/lib/model/model.cpp +++ b/lib/model/model.cpp @@ -256,8 +256,8 @@ model_map_t init_models(cl::CommandQueue & queue) res[std::make_pair(MATRIX_PRODUCT_NT_TYPE, DTYPE)] = ptr_t(new model(mproduct_nt(1, 8, 8, 8, 4, 1, 4, FETCH_FROM_LOCAL, FETCH_FROM_LOCAL, 8, 8), queue)); res[std::make_pair(MATRIX_PRODUCT_TT_TYPE, DTYPE)] = ptr_t(new model(mproduct_tt(1, 8, 8, 8, 4, 1, 4, FETCH_FROM_LOCAL, FETCH_FROM_LOCAL, 8, 8), queue)); } -// if(const char * cmodel_file = std::getenv("ATIDLAS_MODEL_DEVICE_0")) -// import(std::string(cmodel_file), queue, res); + if(const char * cmodel_file = std::getenv("ATIDLAS_MODEL_DEVICE_0")) + import(std::string(cmodel_file), queue, res); return res; }