From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5DBE03938C28; Wed, 24 Jun 2020 11:39:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5DBE03938C28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592998798; bh=lWp4qTBSuUqNc0ZZNWeZdHOwNAMrlJodpbMHghw4I6k=; h=From:To:Subject:Date:From; b=IBcqzUkSrqnFwOC5iOEOJaYkOP7E5NGvN9mnfmZnrSdja5MfY1N8gqjiIjHj1cJA/ vcbx6YdXTSlo9o6jiaP2uOQCuWiERJ31M4aIvxCYq98qEU7MMIFrMtcJQseMEJ3K6i edX+Yg5crcgZrq+S1tYJe/imU7EINw0eL0pkbJ4g= From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/95864] New: [11 Regression] GCN offloading execution regressions after commit f062c3f11505b70c5275e5bc0e52f3e441f8afbc "amdgcn: Switch to HSACO v3 binary format" Date: Wed, 24 Jun 2020 11:39:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ams at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2020 11:39:58 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95864 Bug ID: 95864 Summary: [11 Regression] GCN offloading execution regressions after commit f062c3f11505b70c5275e5bc0e52f3e441f8afbc "amdgcn: Switch to HSACO v3 binary format" Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Priority: P3 Component: target Assignee: ams at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: jules at gcc dot gnu.org Target Milestone: --- Target: gcn I'm seeing the following GCN offloading execution regressions after commit f062c3f11505b70c5275e5bc0e52f3e441f8afbc "amdgcn: Switch to HSACO v3 binary format": PASS: libgomp.c/../libgomp.c-c++-common/for-5.c (test for excess errors) [-PASS:-]{+WARNING: program timed out.+} {+FAIL:+} libgomp.c/../libgomp.c-c++-common/for-5.c execution test libgomp: GCN fatal error: Asynchronous queue error Runtime message: HSA_STATUS_ERROR_INVALID_ISA: The instruction set architecture is invalid. WARNING: program timed out. FAIL: libgomp.c/../libgomp.c-c++-common/for-5.c execution test Same for C++. PASS: libgomp.c/../libgomp.c-c++-common/for-6.c (test for excess errors) [-PASS:-]{+WARNING: program timed out.+} {+FAIL:+} libgomp.c/../libgomp.c-c++-common/for-6.c execution test Same as above, same for C++. @@ -3456,9 +3460,11 @@ PASS: libgomp.fortran/optional-map.f90 -O1=20 execution test PASS: libgomp.fortran/optional-map.f90 -O2 (test for excess errors) PASS: libgomp.fortran/optional-map.f90 -O2 execution test PASS: libgomp.fortran/optional-map.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for excess errors) [-PASS:-]{+WARNING: program timed out.+} {+FAIL:+} libgomp.fortran/optional-map.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test PASS: libgomp.fortran/optional-map.f90 -O3 -g (test for excess error= s) [-PASS:-]{+WARNING: program timed out.+} {+FAIL:+} libgomp.fortran/optional-map.f90 -O3 -g execution test PASS: libgomp.fortran/optional-map.f90 -Os (test for excess errors) PASS: libgomp.fortran/optional-map.f90 -Os execution test Same as above. @@ -4323,9 +4329,11 @@ PASS: libgomp.fortran/target1.f90 -O1 executi= on test PASS: libgomp.fortran/target1.f90 -O2 (test for excess errors) PASS: libgomp.fortran/target1.f90 -O2 execution test PASS: libgomp.fortran/target1.f90 -O3 -fomit-frame-pointer -funroll-l= oops -fpeel-loops -ftracer -finline-functions (test for excess errors) [-PASS:-]{+WARNING: program timed out.+} {+FAIL:+} libgomp.fortran/target1.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test PASS: libgomp.fortran/target1.f90 -O3 -g (test for excess errors) [-PASS:-]{+WARNING: program timed out.+} {+FAIL:+} libgomp.fortran/target1.f90 -O3 -g execution test PASS: libgomp.fortran/target1.f90 -Os (test for excess errors) PASS: libgomp.fortran/target1.f90 -Os execution test Same as above. That's testing the default multilib on "Advanced Micro Devices, Inc. [AMD/A= TI] Fiji [Radeon R9 FURY / NANO Series] (rev ca)" hardware. (I haven't tested anything else.) There seems to be some bug? But also: The error reporting seems "strange"? We shouldn't run into a timeout? (Missing unlocking on error path?)=