diff --git a/src/jit/impl/tiny_opencl/compiler.h b/src/jit/impl/tiny_opencl/compiler.h index 92b2f68cf2c89fcbf7c63fb4ddf0442fd0c24e27..0447139daa09de0f75c3016e8795bbb7c64e9c4b 100644 --- a/src/jit/impl/tiny_opencl/compiler.h +++ b/src/jit/impl/tiny_opencl/compiler.h @@ -1,7 +1,7 @@ #pragma once #include "megbrain_build_config.h" -#if MGB_OPENCL +#if MGB_JIT && MGB_OPENCL #include "megbrain/jit/compiler.h"