MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetPointerToFuel

Function GetPointerToFuel

tensorflow/compiler/jit/mark_for_compilation_pass.cc:1710–1718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1708}
1709
1710std::atomic<int64>* GetPointerToFuel(int64 initial_value) {
1711 static std::atomic<int64>* fuel = [&]() {
1712 std::atomic<int64>* fuel = new std::atomic<int64>;
1713 *fuel = initial_value;
1714 return fuel;
1715 }();
1716
1717 return fuel;
1718}
1719} // anonymous namespace
1720
1721bool IsCompilable(

Callers 2

RunMethod · 0.70
RunForTestMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected