File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ typedef struct at_THAllocator THAllocator;
2525/* default malloc/free allocator. malloc and realloc raise an error (using
2626 * THError) on allocation failure.
2727 */
28- TH_API THAllocator* getTHDefaultAllocator ();
28+ TH_API THAllocator* getTHDefaultAllocator (void );
2929
3030#ifdef __cplusplus
3131// Sentinel value/type to help distinguish the file descriptor constructor from
Original file line number Diff line number Diff line change 33
44#include " THCGeneral.h"
55
6- THC_API THAllocator* getTHCudaHostAllocator ();
7- THC_API THAllocator* getTHCUVAAllocator ();
6+ THC_API THAllocator* getTHCudaHostAllocator (void );
7+ THC_API THAllocator* getTHCUVAAllocator (void );
88// IPC doesn't support (re)allocation
99
1010#ifdef __cplusplus
Original file line number Diff line number Diff line change 1919// Note that this allocator does not split larger allocations into smaller
2020// blocks, unlike the caching device allocator.
2121//
22- THC_API THAllocator * getTHCCachingHostAllocator ();
22+ THC_API THAllocator * getTHCCachingHostAllocator (void );
2323
2424// Records an event in the specified stream. The allocation 'ptr' will not be
2525// re-used until the event has occurred.
You can’t perform that action at this time.
0 commit comments