Skip to content

Commit 5916def

Browse files
xuhancnpytorchmergebot
authored andcommitted
Fix MKL status check wrong to MKLDNN. (pytorch#139049)
Fix check MKL status wrong to MKLDNN. Pull Request resolved: pytorch#139049 Approved by: https://github.com/ezyang, https://github.com/malfet
1 parent 4d8090c commit 5916def

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aten/src/ATen/native/mkl/MklAllocationHelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <ATen/Config.h>
22

3-
#if AT_MKLDNN_ENABLED()
3+
#if AT_MKL_ENABLED()
44
#ifdef USE_MIMALLOC_ON_MKL
55
#include <c10/core/impl/alloc_cpu.h>
66
#include <mkl.h>

0 commit comments

Comments
 (0)