File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 3737 impl_list_item_t ( \
3838 impl_list_item_t ::type_deduction_helper_t <__VA_ARGS__::pd_t >())
3939#define CPU_INSTANCE (...) DNNL_PRIMITIVE_IMPL(CPU_INSTANCE_IMPL, __VA_ARGS__)
40- #define CPU_INSTANCE_X64 (...) DNNL_X64_ONLY(CPU_INSTANCE(__VA_ARGS__))
40+ // Expanding DNNL_X64_ONLY in order to fix Conditional Compilation failure on Windows + CPU plugin.
41+ // DNNL_X64_ONLY == CONCAT2(Z_DO_IF_, DNNL_X64)
42+ #define CPU_INSTANCE_X64 (...) \
43+ CONCAT2 (Z_DO_IF_, DNNL_X64)(CPU_INSTANCE(__VA_ARGS__))
4144#define CPU_INSTANCE_SSE41 (...) REG_SSE41_ISA(CPU_INSTANCE(__VA_ARGS__))
4245#define CPU_INSTANCE_AVX2 (...) REG_AVX2_ISA(CPU_INSTANCE(__VA_ARGS__))
4346#define CPU_INSTANCE_AVX512 (...) REG_AVX512_ISA(CPU_INSTANCE(__VA_ARGS__))
You can’t perform that action at this time.
0 commit comments