configs : added output label description depending on option set
This commit is contained in:
parent
c2f46806c6
commit
f65c58d95c
@ -14,12 +14,19 @@
|
|||||||
__device__ constexpr const size_t M = 5; //log2(NB_THREADS_2D_Y));
|
__device__ constexpr const size_t M = 5; //log2(NB_THREADS_2D_Y));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Save state to avoid recalulation on restart
|
// Save state to avoid recalculation on restart
|
||||||
#define SAVE_STATE true
|
#define SAVE_STATE true
|
||||||
// Redo the state even if it's already saved
|
// Redo the state even if it's already saved
|
||||||
#define FORCE_REDO false
|
#define FORCE_REDO false
|
||||||
|
|
||||||
// Use GPU to greatly accelerate runtime
|
// Use GPU to greatly accelerate runtime
|
||||||
#define GPU_BOOSTED true
|
#define GPU_BOOSTED true
|
||||||
|
// Depending on what you set, the output label will be as follow :
|
||||||
|
// | GPU_BOOSTED | LABEL |
|
||||||
|
// |-------------|-------|
|
||||||
|
// | true | GPU |
|
||||||
|
// | false | CPU |
|
||||||
|
|
||||||
// Number of weak classifiers
|
// Number of weak classifiers
|
||||||
// const size_t TS[] = { 1 };
|
// const size_t TS[] = { 1 };
|
||||||
// const size_t TS[] = { 1, 5, 10 };
|
// const size_t TS[] = { 1, 5, 10 };
|
||||||
|
@ -9,7 +9,7 @@ NB_THREADS_2D = (32, 32)
|
|||||||
NB_THREADS_3D = (16, 16, 4)
|
NB_THREADS_3D = (16, 16, 4)
|
||||||
M = int(np.log2(NB_THREADS_2D[1]))
|
M = int(np.log2(NB_THREADS_2D[1]))
|
||||||
|
|
||||||
# Save state to avoid recalulation on restart
|
# Save state to avoid recalculation on restart
|
||||||
SAVE_STATE = True
|
SAVE_STATE = True
|
||||||
# Redo the state even if it's already saved
|
# Redo the state even if it's already saved
|
||||||
FORCE_REDO = False
|
FORCE_REDO = False
|
||||||
@ -17,6 +17,14 @@ FORCE_REDO = False
|
|||||||
COMPILE_WITH_C = True
|
COMPILE_WITH_C = True
|
||||||
# Use GPU to greatly accelerate runtime (as priority over NJIT)
|
# Use GPU to greatly accelerate runtime (as priority over NJIT)
|
||||||
GPU_BOOSTED = True
|
GPU_BOOSTED = True
|
||||||
|
# Depending on what you set, the output label will be as follow :
|
||||||
|
# | COMPILE_WITH_C | GPU_BOOSTED | LABEL |
|
||||||
|
# |----------------|-------------|-------|
|
||||||
|
# | True | True | GPU |
|
||||||
|
# | True | False | CPU |
|
||||||
|
# | False | True | PGPU |
|
||||||
|
# | False | False | PY |
|
||||||
|
|
||||||
# Number of weak classifiers
|
# Number of weak classifiers
|
||||||
# TS = [1]
|
# TS = [1]
|
||||||
# TS = [1, 5, 10]
|
# TS = [1, 5, 10]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user