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

Function GetComputeCapability

tensorflow/core/kernels/gpu_utils.cc:122–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122tensorflow::ComputeCapability GetComputeCapability(
123 se::StreamExecutor* stream_executor) {
124 tensorflow::ComputeCapability cc;
125 int cc_major, cc_minor;
126 stream_executor->GetDeviceDescription().cuda_compute_capability(&cc_major,
127 &cc_minor);
128 cc.set_major(cc_major);
129 cc.set_minor(cc_minor);
130 return cc;
131}
132
133template<typename TResult, typename TLog>
134void LogConvAutotuneResultsImpl(se::dnn::ConvolutionKind kind,

Callers 6

GetCudaContextsCountFunction · 0.50
CompilePtxFunction · 0.50
InitMethod · 0.50

Calls 1

Tested by

no test coverage detected