From 3e11d894157e80d6bdae3e1857d023e861c496ee Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Wed, 9 Sep 2020 16:14:31 +0800 Subject: [PATCH] fix(dnn/dump): add more info for dump CD4 GitOrigin-RevId: 5840afaacd665bfe37ab90f39ce68848cb6aa257 --- dnn/src/common/relayout_format.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dnn/src/common/relayout_format.cpp b/dnn/src/common/relayout_format.cpp index 92717159..af82449d 100644 --- a/dnn/src/common/relayout_format.cpp +++ b/dnn/src/common/relayout_format.cpp @@ -313,6 +313,7 @@ void RelayoutFormat::deduce_format(TensorFormat src, TensorFormat& dst) { megdnn_throw( "Only naive and opencl handle support " "Image2DPack4TensorFormat, try to export MGB_USE_MEGDNN_DBG=2 " + "and also export CUDA_VISIBLE_DEVICES=\'\' at CUDA env" "to enable naive handle"); } #undef CHECK_SRC