Skip to contentSkip to conversation

New: OpenCL reaper-prime app crashes due to atomic_or unimplemented

Bug 70227 [email protected] 1 participant 4 messages Oct 7, 2013 – Jul 29, 2015

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=70227

Priority: medium
Bug ID: 70227
Assignee: [email protected]
Summary: OpenCL reaper-prime app crashes due to atomic_or
unimplemented
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 70227] OpenCL reaper-prime app crashes due to atomic_or unimplemented

https://bugs.freedesktop.org/show_bug.cgi?id=70227

--- Comment #1 from Alexey Shvetsov <[email protected]> --- 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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 70227] OpenCL reaper-prime app crashes due to atomic_or unimplemented

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=70227

--- Comment #2 from Alexey Shvetsov <[email protected]> --- 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'

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 70227] OpenCL reaper-prime app crashes due to atomic_or unimplemented

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=70227

Serge Martin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Serge Martin <[email protected]> --- atomic should be ok with libclc from r217914 (the 17/09/2014)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel