Reverted strange change on model.cpp

This commit is contained in:
Philippe Tillet
2015-01-31 22:10:09 -05:00
parent d29f1252ad
commit b0bf235cc2

View File

@@ -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;
}