summaryrefslogtreecommitdiff
path: root/caffe2/queue
diff options
context:
space:
mode:
authorYangqing Jia <jiayq84@gmail.com>2018-08-15 17:09:57 -0700
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2018-08-15 17:22:36 -0700
commit0a809fc8b1be12cd3d4a648b8183f37d230a7302 (patch)
treea4f5efc96664a259b5b99b171ccc04cf05587c5e /caffe2/queue
parent87cac4c2f1fa45742f66413fcc3d9e4b3faa8bde (diff)
downloadpytorch-0a809fc8b1be12cd3d4a648b8183f37d230a7302.tar.gz
pytorch-0a809fc8b1be12cd3d4a648b8183f37d230a7302.tar.bz2
pytorch-0a809fc8b1be12cd3d4a648b8183f37d230a7302.zip
build changes to make cpu unified build working. (#10504)
Summary: Properly annotated all apis for cpu front. Checked with cmake using cmake -DUSE_ATEN=ON -DUSE_CUDA=OFF -DBUILD_ATEN=ON and resulting libcaffe2.so has about 11k symbols. Pull Request resolved: https://github.com/pytorch/pytorch/pull/10504 Reviewed By: ezyang Differential Revision: D9316491 Pulled By: Yangqing fbshipit-source-id: 215659abf350af7032e9a4b0f28a856babab2454
Diffstat (limited to 'caffe2/queue')
-rw-r--r--caffe2/queue/blobs_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/caffe2/queue/blobs_queue.h b/caffe2/queue/blobs_queue.h
index ab98bc6457..5ad5c93513 100644
--- a/caffe2/queue/blobs_queue.h
+++ b/caffe2/queue/blobs_queue.h
@@ -20,7 +20,7 @@ namespace caffe2 {
// Containing blobs are owned by the workspace.
// On read, we swap out the underlying data for the blob passed in for blobs
-class BlobsQueue : public std::enable_shared_from_this<BlobsQueue> {
+class CAFFE2_API BlobsQueue : public std::enable_shared_from_this<BlobsQueue> {
public:
BlobsQueue(
Workspace* ws,