Bug 99765 - Make Octopus OpenCL support work on Clover and RadeonSI
Summary: Make Octopus OpenCL support work on Clover and RadeonSI
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Gallium/StateTracker/Clover (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL: http://octopus-code.org
Whiteboard:
Keywords:
Depends on: 94273
Blocks: 99553
  Show dependency treegraph
 
Reported: 2017-02-10 17:51 UTC by Vedran Miletić
Modified: 2019-09-18 17:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vedran Miletić 2017-02-10 17:51:57 UTC
Octopus is a quantum chemistry code with experimental OpenCL support using clBLAS and clFFT [1]. It can be compiled with:

$ ./configure --with-libxc-include=/usr/lib64/gfortran/modules --enable-opencl --with-clblas-prefix=/usr/local --with-clfft-prefix=/usr/local

Running test file named inp from http://octopus-code.org/wiki/Tutorial:Hydrogen_atom results in:

AN INTERNAL KERNEL BUILD ERROR OCCURRED!
device name = AMD FIJI (DRM 3.8.0 / 4.9.7-201.fc25.x86_64, LLVM 5.0.0)
error = -43
memory pattern = Register accumulation based swap, computing kernel generator
Subproblem dimensions: dims[0].itemY = 32, dims[0].itemX = 32, dims[0].y = 32, dims[0].x = 32, dims[0].bwidth = 64; ; dims[1].itemY = 4, dims[1].itemX = 4, dims[1].y = 4, dims[1].x = 4, dims[1].bwidth = 4; ; 
Parallelism granularity: pgran->wgDim = 1, pgran->wgSize[0] = 64, pgran->wgSize[1] = 1, pgran->wfSize = 64
Kernel extra flags: 268462752
Source:

(...)

--------------------------------------------------------

Build log:


========================================================

 Octopus debug trace not available. You can enable it with 'Debug = trace'.
Segmentation fault (core dumped)

[1] https://github.com/clMathLibraries
Comment 1 GitLab Migration User 2019-09-18 17:56:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/136.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.