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

Method GetScratchSpace

tensorflow/core/kernels/cuda_solvers.h:438–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436#if GOOGLE_CUDA
437template <typename Scalar>
438ScratchSpace<Scalar> CudaSolver::GetScratchSpace(const TensorShape& shape,
439 const string& debug_info,
440 bool on_host) {
441 ScratchSpace<Scalar> new_scratch_space(context_, shape, debug_info, on_host);
442 scratch_tensor_refs_.emplace_back(new_scratch_space.tensor());
443 return std::move(new_scratch_space);
444}
445
446template <typename Scalar>
447ScratchSpace<Scalar> CudaSolver::GetScratchSpace(int64 size,

Callers

nothing calls this directly

Calls 3

TensorShapeClass · 0.50
emplace_backMethod · 0.45
tensorMethod · 0.45

Tested by

no test coverage detected