encoding_generic.c 959 Bytes
Newer Older
Hang Zhang's avatar
init  
Hang Zhang committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 * 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 
 *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 */
#ifndef THC_GENERIC_FILE
#define THC_GENERIC_FILE "generic/encoding_generic.c"
#else

Hang Zhang's avatar
backend  
Hang Zhang committed
15
int Encoding_(aggregate_forward)(THCudaTensor *E, THCudaTensor *A,
Hang Zhang's avatar
init  
Hang Zhang committed
16
17
18
19
20
21
22
23
24
25
			THCudaTensor *R)
/*
 * Aggregate operation
 */
{
	Encoding_(Aggregate_Forward)(state, E, A, R);
	/* C function return number of the outputs */
	return 0;
}

Hang Zhang's avatar
backend  
Hang Zhang committed
26
27
28
29
30
31
32
33
34
35
36
int Encoding_(aggregate_backward)(THCudaTensor *E, THCudaTensor *A,
			THCudaTensor *R)
/*
 * Aggregate operation
 */
{
	Encoding_(Aggregate_Backward)(state, E, A, R);
	/* C function return number of the outputs */
	return 0;
}

Hang Zhang's avatar
init  
Hang Zhang committed
37
#endif