Caffe2 - C++ API
A deep learning, cross platform ML framework
queue_ops_gpu.cc
1 #include "caffe2/utils/math.h"
2 #include "caffe2/queue/queue_ops.h"
3 
4 #include "caffe2/core/context_gpu.h"
5 
6 namespace caffe2 {
7 
8 REGISTER_CUDA_OPERATOR(CreateBlobsQueue, CreateBlobsQueueOp<CUDAContext>);
9 REGISTER_CUDA_OPERATOR(EnqueueBlobs, EnqueueBlobsOp<CUDAContext>);
10 REGISTER_CUDA_OPERATOR(DequeueBlobs, DequeueBlobsOp<CUDAContext>);
11 REGISTER_CUDA_OPERATOR(CloseBlobsQueue, CloseBlobsQueueOp<CUDAContext>);
12 
13 REGISTER_CUDA_OPERATOR(SafeEnqueueBlobs, SafeEnqueueBlobsOp<CUDAContext>);
14 REGISTER_CUDA_OPERATOR(SafeDequeueBlobs, SafeDequeueBlobsOp<CUDAContext>);
15 
16 }
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13