thc_encoding.cu 827 Bytes
Newer Older
Hang Zhang's avatar
init  
Hang Zhang committed
1
2
3
4
5
6
7
8
9
10
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 * Created by: Hang Zhang
 * ECE Department, Rutgers University
 * Email: zhang.hang@rutgers.edu
 * Copyright (c) 2017
 *
 * This source code is licensed under the MIT-style license found in the
 * LICENSE file in the root directory of this source tree 
 *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 */
Hang Zhang's avatar
tested  
Hang Zhang committed
11
#include "thc_encoding.h"
Hang Zhang's avatar
Hang Zhang committed
12
#include "common.h"
Hang Zhang's avatar
tested  
Hang Zhang committed
13

Hang Zhang's avatar
backend  
Hang Zhang committed
14
15
#include "generic/device_tensor.h"
#include "THC/THCGenerateFloatType.h"
Hang Zhang's avatar
tested  
Hang Zhang committed
16

Hang Zhang's avatar
Hang Zhang committed
17
18
19
#include "generic/device_tensor.h"
#include "THC/THCGenerateDoubleType.h"

Hang Zhang's avatar
tested  
Hang Zhang committed
20
21
22
23
#ifdef __cplusplus
extern "C" {
#endif

Hang Zhang's avatar
init  
Hang Zhang committed
24
25
#include "generic/encoding_kernel.c"
#include "THC/THCGenerateFloatType.h"
Hang Zhang's avatar
tested  
Hang Zhang committed
26

Hang Zhang's avatar
Hang Zhang committed
27
28
29
#include "generic/encoding_kernel.c"
#include "THC/THCGenerateDoubleType.h"

Hang Zhang's avatar
tested  
Hang Zhang committed
30
31
32
#ifdef __cplusplus
}
#endif