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

Method Run

tensorflow/core/kernels/split_lib_gpu.cu.cc:197–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195
196template <typename T>
197void SplitOpGPULaunch<T>::Run(const Eigen::GpuDevice& d, const T* input,
198 int32 prefix_dim_size, int32 split_dim_size,
199 int32 suffix_dim_size,
200 const GpuDeviceArrayStruct<T*>& output_ptr_data) {
201 GpuLaunchConfig config =
202 GetGpuLaunchConfig(prefix_dim_size * split_dim_size * suffix_dim_size, d);
203
204 TF_CHECK_OK(GpuLaunchKernel(SplitOpKernel<T>, config.block_count,
205 config.thread_per_block, 0, d.stream(), input,
206 prefix_dim_size, split_dim_size, suffix_dim_size,
207 output_ptr_data));
208}
209
210template <typename T, typename IntType>
211void SplitVOpGPULaunch<T, IntType>::Run(

Callers

nothing calls this directly

Calls 4

GetGpuLaunchConfigFunction · 0.85
GetGpu2DLaunchConfigFunction · 0.85
GpuLaunchKernelFunction · 0.50
streamMethod · 0.45

Tested by

no test coverage detected