scallion icon indicating copy to clipboard operation
scallion copied to clipboard

Unsupported call to function get_local_size

Open exos opened this issue 8 years ago • 2 comments

I have paroblem with my power supply, and I had to remove my nvidia card. And now I have this problem trying to run scallions with my Radeon:

WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
modprobe: ERROR: could not insert 'nvidia': No such device
Cooking up some delicious scallions...
Using kernel optimized from file kernel.cl (Optimized4)
Using work group size 64
Compiling kernel...
Unhandled Exception:
System.InvalidOperationException: <unknown>:0:0: in function optimized void (i32 addrspace(2)*, i32 addrspace(2)*, i32 addrspace(1)*, i32, i8, i32 addrspace(2)*, i32 addrspace(2)*, i16 addrspace(2)*, i32 addrspace(2)*): unsupported call to function get_local_size

  at scallion.CLContext.CreateAndCompileProgram (System.String source) [0x000fd] in <e558bbb2be79423e92e070ac9358b5e2>:0
  at scallion.CLRuntime.Run (scallion.ProgramParameters parms) [0x0017c] in <e558bbb2be79423e92e070ac9358b5e2>:0
  at scallion.Program.Main (System.String[] args) [0x00325] in <e558bbb2be79423e92e070ac9358b5e2>:0

Stopping the GPU and shutting down...

[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: <unknown>:0:0: in function optimized void (i32 addrspace(2)*, i32 addrspace(2)*, i32 addrspace(1)*, i32, i8, i32 addrspace(2)*, i32 addrspace(2)*, i16 addrspace(2)*, i32 addrspace(2)*): unsupported call to function get_local_size

  at scallion.CLContext.CreateAndCompileProgram (System.String source) [0x000fd] in <e558bbb2be79423e92e070ac9358b5e2>:0
  at scallion.CLRuntime.Run (scallion.ProgramParameters parms) [0x0017c] in <e558bbb2be79423e92e070ac9358b5e2>:0
  at scallion.Program.Main (System.String[] args) [0x00325] in <e558bbb2be79423e92e070ac9358b5e2>:0

Info:

# uname -r
4.8.10-1-ARCH
# lsmod | grep amd
amdkfd                122880  1
amd_iommu_v2           20480  1 amdkfd
# lspci | grep -i vga
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]
# LC_ALL=C pacman -Ss amd
extra/opencl-mesa 13.0.1-1 [installed]
    OpenCL support for AMD/ATI Radeon mesa drivers
extra/xf86-video-amdgpu 1.2.0-1 (xorg-drivers) [installed]
    X.org amdgpu video driver
# mono --version
Mono JIT compiler version 4.6.1 (Stable 4.6.1.3/abb06f1 Mon Oct  3 07:51:42 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen

Some idea?

exos avatar Nov 29 '16 11:11 exos

Unfortunately, I do not have any new Radeon cards to test with. Maybe another user will have a comment?

lachesis avatar Jan 28 '17 23:01 lachesis

This seem to be a bug in libclc(-amdgcn?). Bug report filed against Mesa including patch : https://bugs.freedesktop.org/show_bug.cgi?id=99856

SleepProgger avatar Mar 15 '17 04:03 SleepProgger