Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/cutorch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Cosatto <cosatto@nec-labs.com>2016-12-15 02:36:03 +0300
committerSoumith Chintala <soumith@gmail.com>2016-12-15 02:36:03 +0300
commitc1c2a81fc671ae9564a884648a657beb7c70812e (patch)
treeb5d178942196e18e71ce55ec966f62402cf1abe6
parent3956f022d92f3e20ef41589b1c7e2415ffffcabd (diff)
fix wrong export directive for THCCachingHostAllocator (#633)
fix wrong export directive for THCCachingHostAllocator
-rw-r--r--lib/THC/THCCachingHostAllocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/THC/THCCachingHostAllocator.h b/lib/THC/THCCachingHostAllocator.h
index 2f2adc1..f2f54c7 100644
--- a/lib/THC/THCCachingHostAllocator.h
+++ b/lib/THC/THCCachingHostAllocator.h
@@ -18,7 +18,7 @@
// Note that this allocator does not split larger allocations into smaller
// blocks, unlike the caching device allocator.
//
-extern THAllocator THCCachingHostAllocator;
+THC_API THAllocator THCCachingHostAllocator;
// Records an event in the specified stream. The allocation 'ptr' will not be
// re-used until the event has occured.