[GPU] dryrun bugfix (#7998)
dryrun failed in case nested graph is created. (due to constant propagation) For nested program, do not skip compile() to make outer program compiles OK.
This commit is contained in:
parent
55792e9a00
commit
a25668d106
@ -428,7 +428,7 @@ void program::build_program(bool is_internal) {
|
||||
|
||||
GPU_DEBUG_GET_INSTANCE(debug_config);
|
||||
#ifdef GPU_DEBUG_CONFIG
|
||||
if (debug_config->dry_run_path.empty()) {
|
||||
if (debug_config->dry_run_path.empty() || is_internal) {
|
||||
#else
|
||||
{
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user