1 #include <caffe2/core/event_cpu.h> 2 #include <caffe2/core/operator.h> 3 #include <caffe2/proto/caffe2_pb.h> 4 #include <ideep_pin_singletons.hpp> 5 #include "ideep_context.h" 11 void CopyBytesWrapper(
22 memcpy(dst, src, nbytes);
26 REGISTER_COPY_BYTES_FUNCTION(
30 REGISTER_COPY_BYTES_FUNCTION(
34 REGISTER_COPY_BYTES_FUNCTION(
42 CAFFE_KNOWN_TYPE(ideep::tensor);
45 IDEEPOperatorRegistry,
50 CAFFE_REGISTER_DEVICE_TYPE(DeviceType::IDEEP, IDEEPOperatorRegistry);
52 REGISTER_EVENT_CREATE_FUNCTION(IDEEP, EventCreateCPU);
53 REGISTER_EVENT_RECORD_FUNCTION(IDEEP, EventRecordCPU);
54 REGISTER_EVENT_WAIT_FUNCTION(IDEEP, IDEEP, EventWaitCPUCPU);
55 REGISTER_EVENT_WAIT_FUNCTION(IDEEP, CPU, EventWaitCPUCPU);
56 REGISTER_EVENT_WAIT_FUNCTION(CPU, IDEEP, EventWaitCPUCPU);
57 REGISTER_EVENT_FINISH_FUNCTION(IDEEP, EventFinishCPU);
58 REGISTER_EVENT_QUERY_FUNCTION(IDEEP, EventQueryCPU);
59 REGISTER_EVENT_ERROR_MESSAGE_FUNCTION(IDEEP, EventErrorMessageCPU);
60 REGISTER_EVENT_SET_FINISHED_FUNCTION(IDEEP, EventSetFinishedCPU);
61 REGISTER_EVENT_RESET_FUNCTION(IDEEP, EventResetCPU);
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Flush-To-Zero and Denormals-Are-Zero mode.