-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathParameters.h
48 lines (42 loc) · 986 Bytes
/
Parameters.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
40
41
42
43
44
45
46
47
48
//
// Created by kevin on 03/11/21.
//
#ifndef IMAGE_KERNEL_PROCESSING_CUDA_PARAMETERS_H
#define IMAGE_KERNEL_PROCESSING_CUDA_PARAMETERS_H
/**
* Enable the use of constant memory in kernel for kernel
*/
//#define CONSTANT_MEMORY
/**
* Enable the use of shared memory in kernel
*/
#define SHARED_MEMORY
/**
* Enable the use of pinned memory for image loading
*/
//#define PINNED_MEMORY
/**
* Min value of kernel dimension to test (MUST be odd)
*/
const int KERNEL_DIM_MIN = 25;
/**
* Max value of kernel dimension to test (MUST be odd)
*/
const int KERNEL_DIM_MAX = 25;
/**
* Step on values of kernel dimension (MUST be even)
*/
const int KERNEL_DIM_STEP = 6;
/**
* Image dimension to test: 4K, 5K, 6K, 7K or 8K
*/
const char IMAGE_DIMENSION[] = "4K";
/**
* Number of image of each dimension to test (max 3)
*/
const int IMAGE_QUANTITY = 3;
/**
* Number of times to test each image
*/
const int REPETITIONS = 2;
#endif //IMAGE_KERNEL_PROCESSING_CUDA_PARAMETERS_H