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 sachin.muradi committed Oct 6, 2021
1 parent dc41c70 commit 36e3320
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 @@ -728,7 +728,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 36e3320

Please sign in to comment.