aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compute/skc/platforms/cl_12/kernels/devices/avx2/device_cl_12_avx2.h
blob: e68579c0f7d54ccf507c9e1ebc3d4df4358a4ea1 (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
 * Copyright 2017 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can
 * be found in the LICENSE file.
 *
 */

#ifndef SKC_ONCE_DEVICE_CL_12_AVX2_H
#define SKC_ONCE_DEVICE_CL_12_AVX2_H

//
//
//

#define SKC_DEVICE_BLOCK_WORDS_LOG2         6
#define SKC_DEVICE_SUBBLOCK_WORDS_LOG2      4

//
//
//

#define SKC_DEVICE_BLOCK_WORDS              (1u << SKC_DEVICE_BLOCK_WORDS_LOG2)
#define SKC_DEVICE_SUBBLOCK_WORDS           (1u << SKC_DEVICE_SUBBLOCK_WORDS_LOG2)

//
//
//

#define SKC_DEVICE_SUBBLOCKS_PER_BLOCK      (SKC_DEVICE_BLOCK_WORDS / SKC_DEVICE_SUBBLOCK_WORDS)

//
//
//

#define SKC_COPY_PATHS_THREADS_PER_BLOCK    SKC_DEVICE_SUBBLOCK_WORDS
#define SKC_COPY_PATHS_ELEM_WORDS           1

//
//
//

#define SKC_EXPAND_FILLS_THREADS_PER_BLOCK  SKC_DEVICE_SUBBLOCK_WORDS
#define SKC_EXPAND_FILLS_ELEM_WORDS         1

//
//
//

#define SKC_RASTERIZE_THREADS_PER_BLOCK     SKC_DEVICE_SUBBLOCK_WORDS

//
//
//

#endif

//
//
//