nw.conf 1.65 KB
Newer Older
German Leon's avatar
German Leon committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[DEFAULT]

debug =True 

# Name of the gdb executable
gdbExecName = /usr/local/cuda-10.1.243/bin/cuda-gdb 

# Which fault model to use, 0 -> single; 1 -> double;
# 2 -> random; 3 -> zeros; 4 -> least 16 significant bits (LSB);
# 5 -> least 8 significant bits (LSB)
# If you want multiple fault models, place them separated by ','
# faultModel = 0,2,3
faultModel = 0

# Injection site
# Can be:
# RF -> Register File
# INST_OUT -> Instruction Output (NOT IMPLEMENTED YET)
# INST_composed -> Instruction Adress (NOT IMPLEMENTED YET)
German Leon's avatar
German Leon committed
20
injectionSite = RF 
German Leon's avatar
German Leon committed
21
22
23
24
25
26
27
28

# Max time factor to finish the app, this will be multiplied by the application running time
# For example if your app spend 2s, and the maxWaitTimes is 5, the max running time before it is
# Considered as a crash is 10s
maxWaitTimes = 5

# binary file of the application
# Must be full path
German Leon's avatar
German Leon committed
29
benchmarkBinary = /home/badia/mycarol-fi/codes/nw/needle
German Leon's avatar
German Leon committed
30

German Leon's avatar
German Leon committed
31
benchmarkBinary_noverificar = /home/badia/mycarol-fi/codes/nw/needle_MUDO
German Leon's avatar
German Leon committed
32
33
34
35
36
37
38
39
#benchmarkBinary_noverificar = /home/badia/rodinia_3.1/cuda/lavaMD/lavaMD 

# Commands to set the session inside GDB environment
benchmarkArgs =  32000 1

 #benchmarkArgs_noverificar =  -s 2048

# CSV output file. It will be overwrite at each injection
German Leon's avatar
German Leon committed
40
csvFile = results/nw_RF.csv
German Leon's avatar
German Leon committed
41
42

# You should create a script on the benchmark source folder to verify GOLD_OUTPUT x INJ_OUTPUT
German Leon's avatar
German Leon committed
43
goldenCheckScript = codes/nw/sdc_check.sh
German Leon's avatar
German Leon committed
44
45
46
47
48
49
50
51
52
53

# Number of signals that will be sent to the application
seqSignals = 2

# Initial sleep time in seconds before start sending signals
# Generally the memory setup time
initSleep = 9.46
kernels = needle_cuda_shared_1,needle_cuda_shared_2
section_begin=needle.cu:85
section_end=needle.cu:107