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

Method device

dlib/cuda/tensor.h:556–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554 virtual float* host() { return data_instance->host()+data_offset; }
555 virtual float* host_write_only() { return data_instance->host()+data_offset; }
556 virtual const float* device() const { return data_instance->device()+data_offset; }
557 virtual float* device() { return data_instance->device()+data_offset; }
558 virtual float* device_write_only() { return data_instance->device()+data_offset; }
559

Callers

nothing calls this directly

Calls 1

deviceMethod · 0.45

Tested by

no test coverage detected