https://bugs.freedesktop.org/show_bug.cgi?id=70227
Priority: medium Bug ID: 70227 Assignee: dri-devel@lists.freedesktop.org Summary: OpenCL reaper-prime app crashes due to atomic_or unimplemented Severity: normal Classification: Unclassified OS: All Reporter: alexxy@gentoo.org Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Miner app https://github.com/arnuschky/primecoin-reaper.git crashes with
./reaper |||||||||||||||||||||/ - Reaper v13 64-bit - - PRIME BETA 2 - - coded by mtrlt - /|||||||||||||||||||||\
Warning: unknown property "use_gpu" in configuration file. I'm now mining primecoin! Share thread started GeneratePrimeTable() : setting nSievePercentage = 1, nSieveSize = 100000 GeneratePrimeTable() : prime table [1, 100000] generated with 9592 primes Available CPU mining algorithms: hp7 Using default: hp7 Creating 1 CPU thread. 1...Warning: can't set thread priority done List of platforms: 0 Default Using platform number 0
Using device 0 OpenCL device 0........ Compiling kernel... this could take up to 2 minutes. 2 warnings generated. Building kernel CalculateMultipliers Building kernel Sieve Building kernel Combine Building kernel Fermat done Compiling kernel... this could take up to 2 minutes. 2 warnings generated. Building kernel CalculateMultipliers Building kernel Sieve Building kernel Combine Building kernel Fermat 0x7f735cdadd00: i32 = GlobalAddress<i32 (...)* @atomic_or> 0 [ORD=104] Stack dump: 0. Running pass 'Function Pass Manager' on module 'radeon'. 1. Running pass 'AMDGPU DAG->DAG Pattern Instruction Selection' on function '@Sieve' Segmentation fault
https://bugs.freedesktop.org/show_bug.cgi?id=70227
--- Comment #1 from Alexey Shvetsov alexxy@gentoo.org --- With recent llvm master branch build now it failes with
Building kernel CalculateMultipliers Building kernel Sieve Building kernel Combine Building kernel Fermat LLVM ERROR: Cannot select: 0x7f638ce2c2d0: i32,ch = AtomicLoadAdd 0x7f638ce86840, 0x7f638ce25e60, 0x7f638ce25f60<Volatile LDST4[%counter]> [ORD=36] [ID=12] 0x7f638ce25e60: i32,ch = CopyFromReg 0x7f638ce86840, 0x7f638ce2b7c0 [ORD=36] [ID=8] 0x7f638ce2b7c0: i32 = Register %vreg4 [ID=2] 0x7f638ce25f60: i32 = Constant<1> [ID=1] In function: Combine
https://bugs.freedesktop.org/show_bug.cgi?id=70227
--- Comment #2 from Alexey Shvetsov alexxy@gentoo.org --- And sometimes again with old error
Building kernel Combine Building kernel Fermat 0x7f19ac3e0a30: i32 = GlobalAddress<i32 (...)* @atomic_or> 0 [ORD=104] Stack dump: 0. Running pass 'Function Pass Manager' on module 'radeon'. 1. Running pass 'AMDGPU DAG->DAG Pattern Instruction Selection' on function '@Sieve'
https://bugs.freedesktop.org/show_bug.cgi?id=70227
Serge Martin edb+freedesktop@sigluy.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Serge Martin edb+freedesktop@sigluy.net --- atomic should be ok with libclc from r217914 (the 17/09/2014)
dri-devel@lists.freedesktop.org