From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 99552] Make Advanced Simulation Library (ASL) OpenCL GPU
support work on Clover and RadeonSI
Date: Thu, 26 Jan 2017 19:33:23 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1620488104=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 60FD76E2B4
for ; Thu, 26 Jan 2017 19:33:23 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1620488104==
Content-Type: multipart/alternative; boundary="14854592030.6bacD2.28386";
charset="UTF-8"
--14854592030.6bacD2.28386
Date: Thu, 26 Jan 2017 19:33:23 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D99552
Bug ID: 99552
Summary: Make Advanced Simulation Library (ASL) OpenCL GPU
support work on Clover and RadeonSI
Product: Mesa
Version: git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel@lists.freedesktop.org
Reporter: vedran@miletic.net
QA Contact: dri-devel@lists.freedesktop.org
Advanced Simulation Library (ASL) is a partial differential equation solver
that supports running with OpenCL. When using it on Mesa/radeonsi/LLVM/AMDG=
PU,
test/testACL/testKernel.cc [1] partially works but ultimately fails with:
$ ./testKernel
Test of "copy" function... Ok
Test of Kernel with double... Ok
Test of KernelSIMD... Ok
Test of KernelSIMDUA... Ok
Test of kernel with PrivateVariable... Ok
Test of kernel with PrivateArray...
BUILD LOG
************************************************
:0:0: in function compute_4 void (i32 addrspace(1)*, float
addrspace(1)*): invalid addrspacecast
************************************************
KERNEL SOURCE CODE
------------------------------------------------
#pragma OPENCL EXTENSION cl_khr_fp64 : disable
__kernel void compute_4(__global int *a_i1,
__global float *a_f8)
{
uint index =3D get_global_id(0);
float pa_f1[6] =3D {-9, 2, 0, 15, 1, 3};
(a_f8[index]=3Dpa_f1[a_i1[index]]);
}
------------------------------------------------
terminate called after throwing an instance of 'std::logic_error'
what(): ASL ERROR: Program::build() (-11).
Aborted (core dumped)
[1]
https://github.com/AvtechScientific/ASL/blob/master/test/testACL/testKernel=
.cc
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14854592030.6bacD2.28386
Date: Thu, 26 Jan 2017 19:33:23 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
| Bug ID |
99552
|
| Summary |
Make Advanced Simulation Library (ASL) OpenCL GPU support wor=
k on Clover and RadeonSI
|
| Product |
Mesa
|
| Version |
git
|
| Hardware |
All
|
| OS |
All
|
| Status |
NEW
|
| Severity |
normal
|
| Priority |
medium
|
| Component |
Drivers/Gallium/radeonsi
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
vedran@miletic.net
|
| QA Contact |
dri-devel@lists.freedesktop.org
|
Advanced Simulation Library (ASL) is a partial differential eq=
uation solver
that supports running with OpenCL. When using it on Mesa/radeonsi/LLVM/AMDG=
PU,
test/testACL/testKernel.cc [1] partially works but ultimately fails with:
$ ./testKernel
Test of "copy" function... Ok
Test of Kernel with double... Ok
Test of KernelSIMD... Ok
Test of KernelSIMDUA... Ok
Test of kernel with PrivateVariable... Ok
Test of kernel with PrivateArray...
BUILD LOG
************************************************
<unknown>:0:0: in function compute_4 void (i32 addrspace(1)*, float
addrspace(1)*): invalid addrspacecast
************************************************
KERNEL SOURCE CODE
------------------------------------------------
#pragma OPENCL EXTENSION cl_khr_fp64 : disable
__kernel void compute_4(__global int *a_i1,
__global float *a_f8)
{
uint index =3D get_global_id(0);
float pa_f1[6] =3D {-9, 2, 0, 15, 1, 3};
(a_f8[index]=3Dpa_f1[a_i1[index]]);
}
------------------------------------------------
terminate called after throwing an instance of 'std::logic_error'
what(): ASL ERROR: Program::build() (-11).
Aborted (core dumped)
[1]
https://github.com/AvtechScientific/ASL/blob/master/test/te=
stACL/testKernel.cc
You are receiving this mail because:
- You are the assignee for the bug.
=
--14854592030.6bacD2.28386--
--===============1620488104==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1620488104==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 99552] Make Advanced Simulation Library (ASL) OpenCL GPU
support work on Clover and RadeonSI
Date: Thu, 26 Jan 2017 19:44:26 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1915281220=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 9B70A6EC39
for ; Thu, 26 Jan 2017 19:44:27 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1915281220==
Content-Type: multipart/alternative; boundary="14854598677.C93AFEF8.29119";
charset="UTF-8"
--14854598677.C93AFEF8.29119
Date: Thu, 26 Jan 2017 19:44:27 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D99552
Vedran Mileti=C4=87 changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |99553
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=3D99553
[Bug 99553] Tracker bug for runnning OpenCL applications on Clover
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14854598677.C93AFEF8.29119
Date: Thu, 26 Jan 2017 19:44:27 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Vedran Mileti=C4=87
changed
bug 99552<=
/a>
| What |
Removed |
Added |
| Blocks |
|
99553
|
You are receiving this mail because:
- You are the assignee for the bug.
=
--14854598677.C93AFEF8.29119--
--===============1915281220==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1915281220==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 99552] Make Advanced Simulation Library (ASL) OpenCL GPU
support work on Clover and RadeonSI
Date: Wed, 08 Feb 2017 16:05:11 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2085517634=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id AEA5A6E8F5
for ; Wed, 8 Feb 2017 16:05:10 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============2085517634==
Content-Type: multipart/alternative; boundary="14865699100.AEbCFCa.21908";
charset="UTF-8"
--14865699100.AEbCFCa.21908
Date: Wed, 8 Feb 2017 16:05:10 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D99552
--- Comment #1 from Vedran Mileti=C4=87 ---
How to test:
$ mkdir build; cd build
$ cmake -DWITH_TESTS=3DON ..
$ make -j
$ make test
Right now, Mesa/LLVM latest git pulled half an hour ago I get:
Running tests...
Test project /users/miletivn/workspace/ASL/build
Start 1: testABDFormat
1/10 Test #1: testABDFormat .................... Passed 0.07 sec
Start 2: testVectorOfElements
2/10 Test #2: testVectorOfElements ............. Passed 5.27 sec
Start 3: testMatrixOfElements
3/10 Test #3: testMatrixOfElements ............. Passed 7.89 sec
Start 4: testKernel
4/10 Test #4: testKernel .......................***Exception: Other 13.94=
sec
Start 5: testOperators
5/10 Test #5: testOperators .................... Passed 7.88 sec
Start 6: testKernelMerger
6/10 Test #6: testKernelMerger ................. Passed 2.65 sec
Start 7: testPrivateVar
7/10 Test #7: testPrivateVar ...................***Exception: Other 3.22=
sec
Start 8: testASLData
8/10 Test #8: testASLData ...................... Passed 13.72 sec
Start 9: testDistanceFunction
9/10 Test #9: testDistanceFunction ............. Passed 42.43 sec
Start 10: testReductionFunction
10/10 Test #10: testReductionFunction ............ Passed 29.24 sec
80% tests passed, 2 tests failed out of 10
Label Time Summary:
DoublePrecision =3D 85.62 sec (3 tests)
Performance =3D 3.22 sec (1 test)
Total Test time (real) =3D 126.34 sec
The following tests FAILED:
4 - testKernel (OTHER_FAULT)
7 - testPrivateVar (OTHER_FAULT)
Errors while running CTest
Makefile:61: recipe for target 'test' failed
make: *** [test] Error 8
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14865699100.AEbCFCa.21908
Date: Wed, 8 Feb 2017 16:05:10 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Comment=
# 1
on bug 99552<=
/a>
from Vedran Mileti=C4=87
How to test:
$ mkdir build; cd build
$ cmake -DWITH_TESTS=3DON ..
$ make -j
$ make test
Right now, Mesa/LLVM latest git pulled half an hour ago I get:
Running tests...
Test project /users/miletivn/workspace/ASL/build
Start 1: testABDFormat
1/10 Test #1: testABDFormat .................... Passed 0.07 sec
Start 2: testVectorOfElements
2/10 Test #2: testVectorOfElements ............. Passed 5.27 sec
Start 3: testMatrixOfElements
3/10 Test #3: testMatrixOfElements ............. Passed 7.89 sec
Start 4: testKernel
4/10 Test #4: testKernel .......................***Exception: Other 13.94=
sec
Start 5: testOperators
5/10 Test #5: testOperators .................... Passed 7.88 sec
Start 6: testKernelMerger
6/10 Test #6: testKernelMerger ................. Passed 2.65 sec
Start 7: testPrivateVar
7/10 Test #7: testPrivateVar ...................***Exception: Other 3.22=
sec
Start 8: testASLData
8/10 Test #8: testASLData ...................... Passed 13.72 sec
Start 9: testDistanceFunction
9/10 Test #9: testDistanceFunction ............. Passed 42.43 sec
Start 10: testReductionFunction
10/10 Test #10: testReductionFunction ............ Passed 29.24 sec
80% tests passed, 2 tests failed out of 10
Label Time Summary:
DoublePrecision =3D 85.62 sec (3 tests)
Performance =3D 3.22 sec (1 test)
Total Test time (real) =3D 126.34 sec
The following tests FAILED:
4 - testKernel (OTHER_FAULT)
7 - testPrivateVar (OTHER_FAULT)
Errors while running CTest
Makefile:61: recipe for target 'test' failed
make: *** [test] Error 8
You are receiving this mail because:
- You are the assignee for the bug.
=
--14865699100.AEbCFCa.21908--
--===============2085517634==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============2085517634==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 99552] Make Advanced Simulation Library (ASL) OpenCL GPU
support work on Clover and RadeonSI
Date: Wed, 08 Feb 2017 18:01:37 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1166662156=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 0F9566E038
for ; Wed, 8 Feb 2017 18:01:37 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1166662156==
Content-Type: multipart/alternative; boundary="14865768970.6f49EA0dB.32175";
charset="UTF-8"
--14865768970.6f49EA0dB.32175
Date: Wed, 8 Feb 2017 18:01:36 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D99552
--- Comment #2 from Vedran Mileti=C4=87 ---
(In reply to Vedran Mileti=C4=87 from comment #1)
> Start 7: testPrivateVar
> 7/10 Test #7: testPrivateVar ...................***Exception: Other 3.=
22
> sec
Adding native_rsqrt fixes this, patch will appear here:
http://lists.llvm.org/pipermail/libclc-dev/2017-February/
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14865768970.6f49EA0dB.32175
Date: Wed, 8 Feb 2017 18:01:37 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
You are receiving this mail because:
- You are the assignee for the bug.
=
--14865768970.6f49EA0dB.32175--
--===============1166662156==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1166662156==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 99552] Make Advanced Simulation Library (ASL) OpenCL GPU
support work on Clover and RadeonSI
Date: Tue, 14 Feb 2017 10:17:47 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0630700814=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 169586E64B
for ; Tue, 14 Feb 2017 10:17:47 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0630700814==
Content-Type: multipart/alternative; boundary="14870674670.EB516A8F0.7418";
charset="UTF-8"
--14870674670.EB516A8F0.7418
Date: Tue, 14 Feb 2017 10:17:46 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D99552
Vedran Mileti=C4=87 changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Vedran Mileti=C4=87 ---
Fixed https://reviews.llvm.org/D27283 https://reviews.llvm.org/rL294786
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14870674670.EB516A8F0.7418
Date: Tue, 14 Feb 2017 10:17:47 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Vedran Mileti=C4=87
changed
bug 99552<=
/a>
| What |
Removed |
Added |
| Resolution |
---
|
FIXED
|
| Status |
NEW
|
RESOLVED
|
You are receiving this mail because:
- You are the assignee for the bug.
=
--14870674670.EB516A8F0.7418--
--===============0630700814==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0630700814==--