zhangzhaoju
610ee46ebe
Add file open failure info while file open failed
4 years ago
lby
a3f65acc65
code clean
4 years ago
7347157+joylvliang@user.noreply.gitee.com
ab32ebc758
fix_warning_of_codes
4 years ago
l00591931
d2a44c02da
Code fix
4 years ago
louie5
ef98f259ce
create directory of log files using 'GLOG_log_dir' in c++ frontend while it does not exist
check the real path of directory whether valid
4 years ago
ms_yan
030030deb2
delete GetEnvConfigFile func as it no longer used
4 years ago
yujianfeng
e88d058787
Add bprop cache
4 years ago
buxue
d50d46013b
code security check
4 years ago
buxue
1590f16953
delete python get_file_real_path
4 years ago
i-robot
50304d82fb
!17661 add permission for save files
Merge pull request !17661 from zhangbuxue/add_permission_for_save_files
4 years ago
buxue
0049109d11
add permission for save files
4 years ago
i-robot
059a9297af
!17982 Code self-check
Merge pull request !17982 from huanghui/code-self-check
4 years ago
huanghui
bcb0208060
code-self-check of debug
4 years ago
LaiYongqiang
0c78f9a9db
change somas log file mode to 400
4 years ago
LaiYongqiang
9aa51c64fa
fix static check warning in SOMAS
4 years ago
mindspore-ci-bot
242b6e3eff
!17136 [MS][RDR] fix pclint and codecheck warnings
From: @louie5
Reviewed-by: @ouwenchang,@lixiaohui33,@ouwenchang
Signed-off-by: @ouwenchang
4 years ago
louei5
6f82ec5fc9
fix pclint & codecheck warnings
4 years ago
yujianfeng
579c0dd61b
Fix code check warning
4 years ago
zhangzhaoju
2d667f9ed7
ci format problem fix.
4 years ago
huanghui
427337abac
fix code check
4 years ago
luopengting
727dc08bfa
fix TAINTED_SCALAR and capitalize constants
1. fix the tainted variable 'path'
2. capitalize constants in env_config_parser
3. move constants about attribute to common utils.h
5 years ago
luopengting
facff39ff8
fix codedex in RDR
1. check whether path is empty in IsEveryFilenameValid().
2. do not print the string in IsStrLengthValid(), it's not safe.
3. make the constants about hash in recorder_manager.h.
4. initialize some variables.
5 years ago
huanghui
a2ba47e18a
1. Add unique id for .dat and .dot file to avoid covering
2. Dump the end graph in gpu session and cu session
5 years ago
luopengting
bd7e5e9d37
check ENABLE_DUMP_IR if user set env_config_path
If the ENABLE_DUMP_IR is off, the program will raise ValueError to
remind user to turn on ENABLE_DUMP_IR.
5 years ago
luopengting
b4d56f6358
add functions to check for directory and filename
1. add validation for directory and filename
2. refactor the file operations about path
3. add in CMakeLists
4. add logger in nn_ops
5 years ago
luopengting
4683ecc06b
support env_config_path to set the config file for DFX
1. add env_config_path for ms_context
2. add EnvConfigParser to parse config
3. add in CMakeLists
4. clang-format, cpplint
5. fix spelling in ms_context
Use EnvConfigParser in the constructed function of base_recorder,
when a recorder is initialized, its direcctory will be set as the
value from config file. In addition, recorder_manager will get the
'enable' from config file. If 'enable' is true and the path is not a
valid value, it will be the default value: './rdr'.
5 years ago
huanghui
fa6c23358a
Move some ir files which backend optpass dumped to the fold: verbose_ir_files
5 years ago
caifubi
9ce7919712
clean dump codex
5 years ago
zhoufeng
663278112f
optimize code compile performance
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
liubuyu
d81862a916
decoupling core and context
5 years ago
caifubi
e870c3a717
clean codex
5 years ago
caifubi
4ad4d583ad
Fix Security Bug
5 years ago
caifubi
c577952c9a
Async Data Dump
5 years ago