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

Method set_arity

tensorflow/stream_executor/gpu/gpu_kernel.h:49–49  ·  view source on GitHub ↗

As arity cannot be reflected upon using the CUDA API, the arity is explicitly set during the GpuExecutor::GetKernel initialization process.

Source from the content-addressed store, hash-verified

47 // As arity cannot be reflected upon using the CUDA API, the arity is
48 // explicitly set during the GpuExecutor::GetKernel initialization process.
49 void set_arity(unsigned arity) { arity_ = arity; }
50 unsigned Arity() const override { return arity_; }
51
52 // Returns the GpuFunctionHandle value for passing to the CUDA API.

Callers 2

GetKernelMethod · 0.80
GetKernelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected