Bug 99765

Summary: Make Octopus OpenCL support work on Clover and RadeonSI
Product: Mesa Reporter: Vedran Miletić <vedran>
Component: Gallium/StateTracker/CloverAssignee: mesa-dev
Status: RESOLVED MOVED QA Contact: mesa-dev
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
URL: http://octopus-code.org
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 94273    
Bug Blocks: 99553    

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.