diff options
author | Eric Cosatto <cosatto@nec-labs.com> | 2016-12-15 02:36:03 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2016-12-15 02:36:03 +0300 |
commit | c1c2a81fc671ae9564a884648a657beb7c70812e (patch) | |
tree | b5d178942196e18e71ce55ec966f62402cf1abe6 | |
parent | 3956f022d92f3e20ef41589b1c7e2415ffffcabd (diff) |
fix wrong export directive for THCCachingHostAllocator (#633)
fix wrong export directive for THCCachingHostAllocator
-rw-r--r-- | lib/THC/THCCachingHostAllocator.h | 2 |
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. |