![]() |
|
|
#1288 | |
|
"Mihai Preda"
Apr 2015
3·457 Posts |
Try running it with "-use NO_ASM"
(if it works, you can put that option in config.txt ) The __asm() errors are because you're running with a driver (Adrenalin/windows) that does not support assembly. ROCm/linux works fine with __asm(). Anyway, assembly support is not mandatory, you just need to disable it with -use NO_ASM . I haven't found a way yet (in OpenCL) to automatically detect __asm support. Quote:
|
|
|
|
|
|
|
#1289 | |
|
"Mihai Preda"
Apr 2015
101010110112 Posts |
Thank you, this is useful!
Quote:
|
|
|
|
|
|
|
#1290 |
|
Einyen
Dec 2003
Denmark
2×1,579 Posts |
Thanks. I assume there is no Windows driver where it works?
Now there are no errors but it does not actually start calculating, the card is not being used at all. Code:
gpuowl-win.exe -device 1 -use NO_ASM 2019-07-20 03:01:43 gpuowl v6.5-84-g30c0508 2019-07-20 03:01:43 Note: no config.txt file found 2019-07-20 03:01:43 config: -device 1 -use NO_ASM 2019-07-20 03:01:43 80293033 FFT 4608K: Width 256x4, Height 64x4, Middle 9; 17.02 bits/word 2019-07-20 03:01:43 using short carry kernels 2019-07-20 03:01:43 OpenCL args "-DEXP=80293033u -DWIDTH=1024u -DSMALL_HEIGHT=256u -DMIDDLE=9u -DWEIGHT_STEP=0xf.d1f3073e091p-3 -DIWEIGHT_STEP=0x8.17498299a4db8p-4 -DWEIGHT_BIGSTEP=0xd.744fccad69d68p-3 -DIWEIGHT_BIGSTEP=0x9.837f0518db8a8p-4 -DNO_ASM=1 -DNO_ASM=1 -I. -cl-fast-relaxed-math -cl-std=CL2.0" I was afraid I was being too optimistic trying to run Nvidia and AMD card in the same computer. Anyone else have any Windows binaries? Only Kriesel posted binaries in this thread from the latests versions. Last fiddled with by ATH on 2019-07-20 at 01:21 |
|
|
|
|
|
#1291 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
541910 Posts |
Quote:
No data on Radeon VII here yet. Hadn't seen NO_ASM back when I made the -use list at https://www.mersenneforum.org/showpo...postcount=1222 but I see it there in the gpuowl.cl code of v6.5-76-g1ca08e2-dirty |
|
|
|
|
|
|
#1292 | |
|
2,137 Posts |
Quote:
there should be a way to detect which driver is in use, amdgpu-pro doesn't support __asm() and I set -use NO_ASM. |
|
|
|
|
#1293 | |
|
"Mihai Preda"
Apr 2015
25338 Posts |
Normally the next log line would be something like:
"OpenCL compilation in 2195 ms" So it seems it your case it's stuck at the OpenCL compilation step. I'm sorry but I don't really know why, and unfortunatelly I can't repro. (I would be happy to have a fix if the problem is on gpuowl's side) Quote:
|
|
|
|
|
|
|
#1294 | |
|
23×52×43 Posts |
Quote:
it is possible with a script, the "vendor" field should change accordingly for nvidia, also the "configuration: driver=amdgpu latency=0" should change accordingly: # lshw -class video *-display description: VGA compatible controller product: Ellesmere [Radeon RX 470/480] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:01:00.0 version: e7 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom configuration: driver=amdgpu latency=0 resources: iomemory:220-21f iomemory:210-20f irq:126 memory:2200000000-23ffffffff memory:2100000000-21001fffff ioport:e000(size=256) memory:f7e00000-f7e3ffff memory:f7e40000-f7e5ffff *-display description: VGA compatible controller product: Intel Corporation vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 04 width: 64 bits clock: 33MHz capabilities: pciexpress msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: iomemory:2f0-2ef iomemory:2f0-2ef irq:125 memory:2ffe000000-2ffeffffff memory:2fe0000000-2fefffffff ioport:f000(size=64) memory:c0000-dffff |
|
|
|
|
#1295 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
5,419 Posts |
Quote:
Divide and conquer. Use multiple cl test and info utilities and device manager to check how functional the AMD opencl and driver installation is. Sometimes one will claim all's fine and others will show issues. I've seen one vendor's opencl install hose another's. (iIn that case it was an NVIDIA or AMD SDK install disabling the opencl use of the Intel igp, until the SDKs were removed and the Intel opencl reinstalled.) You could try a temporary complete removal of the NVIDIA driver followed by removal and reinstall of the AMD driver. Also sometimes an additional second reboot is needed after a graphics driver install. |
|
|
|
|
|
|
#1296 | |
|
67·107 Posts |
Quote:
Hi Mihai, I found a C++ library: https://github.com/ThePhD/infoware Example: https://github.com/ThePhD/infoware/b...amples/gpu.cpp reactions? |
|
|
|
|
#1297 | |
|
5·17·29 Posts |
Quote:
This header file detects platform: https://github.com/hendrix2897/platf...atformDetect.h |
|
|
|
|
#1298 |
|
Apr 2017
248 Posts |
Hello and thank you for the program.
How much of it depends on CPU performance? Will it be significantly slower running on a Radeon VII with a pentium II, i5 2500 or R7 1800x (or 3600) ? I am about to compile in linux soon. I have a 1800x, and setup Radeon VI for gpuOwl and Nvidia 1050ti for the lesser stuff, any experience in balancing load between two gpus appreciated! betrig Last fiddled with by maxzor on 2019-07-23 at 19:52 |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mfakto: an OpenCL program for Mersenne prefactoring | Bdot | GPU Computing | 1676 | 2021-06-30 21:23 |
| GPUOWL AMD Windows OpenCL issues | xx005fs | GpuOwl | 0 | 2019-07-26 21:37 |
| Testing an expression for primality | 1260 | Software | 17 | 2015-08-28 01:35 |
| Testing Mersenne cofactors for primality? | CRGreathouse | Computer Science & Computational Number Theory | 18 | 2013-06-08 19:12 |
| Primality-testing program with multiple types of moduli (PFGW-related) | Unregistered | Information & Answers | 4 | 2006-10-04 22:38 |