[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:
Mingyu Kim 2021-10-15 15:28:48 +09:00 committed by GitHub
parent 55792e9a00
commit a25668d106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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