Skip to content

Commit

Permalink
making GetMKLNodeDef function an inline function
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinmuradi authored and penpornk committed Oct 11, 2021
1 parent 5415871 commit 3970a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/core/common_runtime/eager/execute.cc
Expand Up @@ -727,7 +727,7 @@ Status PopulateRetMap(FunctionDef* fdef, const AbstractOpAttrs* op_attrs,
}

#ifdef INTEL_MKL
void GetMKLNodeDef(NodeDef* ndef) {
inline void GetMKLNodeDef(NodeDef* ndef) {
// All MKL eager ops have `_kernel` private attribute that needs to be set
// to a fixed label.
AttrValue attr_kernel;
Expand Down

0 comments on commit 3970a4c

Please sign in to comment.