MCPcopy Create free account
hub / github.com/davisking/dlib / device_global_buffer

Function device_global_buffer

dlib/cuda/cuda_data_ptr.cpp:163–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 // ----------------------------------------------------------------------------------------
162
163 cuda_data_void_ptr device_global_buffer(size_t size)
164 {
165 thread_local cudnn_device_buffer buffer;
166 return buffer.get(size);
167 }
168
169 // ------------------------------------------------------------------------------------
170

Callers 7

operator()Method · 0.85
get_gradient_for_dataMethod · 0.85
operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected