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

Method TempBufferKey

tensorflow/compiler/xla/service/gpu/buffer_allocations.cc:189–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189BufferAllocations::KeyType BufferAllocations::TempBufferKey() const {
190 KeyType key;
191 key.all_buffers_.reserve(1);
192 key.all_buffers_.push_back(temp_buffer_base_.opaque());
193
194 return key;
195}
196
197bool ShouldEmitLiteralInLlvmIr(const Literal& literal) {
198 // LLVM can sometimes do interesting optimizations using scalar constants.

Callers 1

ExecuteThunksMethod · 0.80

Calls 3

opaqueMethod · 0.80
reserveMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected