forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
THStorageFunctions.h
39 lines (26 loc) · 992 Bytes
/
THStorageFunctions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once
#include <TH/THGeneral.h>
#include <TH/THAllocator.h>
#define THStorage_(NAME) TH_CONCAT_4(TH,Real,Storage_,NAME)
#include <TH/generic/THStorage.h>
#include <TH/THGenerateAllTypes.h>
#include <TH/generic/THStorage.h>
#include <TH/THGenerateHalfType.h>
#include <TH/generic/THStorage.h>
#include <TH/THGenerateBoolType.h>
#include <TH/generic/THStorage.h>
#include <TH/THGenerateQTypes.h>
#include <TH/generic/THStorage.h>
#include <TH/THGenerateBFloat16Type.h>
#include <TH/generic/THStorageCopy.h>
#include <TH/THGenerateAllTypes.h>
#include <TH/generic/THStorageCopy.h>
#include <TH/THGenerateHalfType.h>
#include <TH/generic/THStorageCopy.h>
#include <TH/THGenerateBoolType.h>
#include <TH/generic/THStorageCopy.h>
#include <TH/THGenerateQTypes.h>
#include <TH/generic/THStorageCopy.h>
#include <TH/THGenerateBFloat16Type.h>
// This exists to have a data-type independent way of freeing (necessary for THPPointer).
TH_API void THStorage_free(THStorage *storage);