[llvm-bugs] [Bug 28362] New: LLVM ERROR: branch size exceeds simm16 when running ethminer

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 29 10:17:52 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28362

            Bug ID: 28362
           Summary: LLVM ERROR: branch size exceeds simm16 when running
                    ethminer
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedbugs at nondot.org
          Reporter: vrodic at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

When trying to run ethminer on Radeon R9 380 4GB I get this error

LLVM ERROR: branch size exceeds simm16

I've had to modify ethminer to support OpenCL 1.1, source here:
https://github.com/vrodic/cpp-ethereum/tree/110 (be sure to use '110' branch) 

I also had to modify gallium/Clover OpenCL to up the max alloc size, my patch
is here:
https://github.com/vrodic/mesa/commit/4b26a6e73e514707ed81e955b241e4d5e931299a

After I've done this two things, I get the error from subject. I'm not sure how
to proceed. fglrx on the same hardware runs this, amdgpu pro driver doesn't
because of max alloc size of 1GB.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160629/7767745f/attachment.html>


More information about the llvm-bugs mailing list