A GPU version of Enigma software

Message boards : Number crunching : A GPU version of Enigma software

To post messages, you must log in.

Previous · 1 . . . 7 · 8 · 9 · 10 · 11 · 12 · Next

AuthorMessage
matszpk
Project tester
Volunteer developer
Volunteer tester

Send message
Joined: 20 May 11
Posts: 10
Credit: 105,914,725
RAC: 0
Message 6237 - Posted: 13 Aug 2017, 3:31:06 UTC - in response to Message 6236.  

Thank you. In my OpenCL code in FindBestResultKernel, I am replacing that index field value in temporary variables by index of element in the array. However, final result is copy of element from source array, thus the index field will be kept.
ID: 6237 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 6284 - Posted: 16 Aug 2017, 13:44:33 UTC - in response to Message 6237.  

I had to reset GPU performance stats listed here GPU speed because the script did not sum points correctly when the app runtime was very short and the app used less than 100s of CPU time. Mostly AMD cards running OpenCL apps were affected and I finally found the bug when I noticed RX Vega at the bottom with speed index of 0.
M4 Project homepage
M4 Project wiki
ID: 6284 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Marius

Send message
Joined: 5 Sep 13
Posts: 2
Credit: 11,894,410
RAC: 0
Message 6295 - Posted: 17 Aug 2017, 15:05:04 UTC

Will there be Intel gpu?
ID: 6295 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Tom_unoduetre

Send message
Joined: 18 Sep 07
Posts: 14
Credit: 2,149,222
RAC: 0
Message 6516 - Posted: 19 Sep 2017, 8:21:21 UTC - in response to Message 6295.  

Will there be Intel gpu?

+1

Not sure how easy or difficult it is to port the AMD openCL app to Intel?
ID: 6516 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 6517 - Posted: 19 Sep 2017, 8:52:45 UTC - in response to Message 6516.  

The current OpenCL version is highly optimized for AMD cards and won't work on Intel GPUs for sure.
Older version did work but it was painfully slow and I've encountered lots of random driver/app crashes, it crashed so often that I could not even verify if it returned correct results, so the support was dropped.
M4 Project homepage
M4 Project wiki
ID: 6517 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Tom_unoduetre

Send message
Joined: 18 Sep 07
Posts: 14
Credit: 2,149,222
RAC: 0
Message 6518 - Posted: 19 Sep 2017, 13:11:01 UTC

Ok, I understand, thank you for your reply
ID: 6518 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sagyam

Send message
Joined: 14 Jan 17
Posts: 1
Credit: 549
RAC: 0
Message 13232 - Posted: 4 Oct 2017, 9:37:17 UTC - in response to Message 4424.  

4 min 14 sec for gtx 960m with run_m4.bat
ID: 13232 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Vig

Send message
Joined: 15 Feb 17
Posts: 6
Credit: 321,895,206
RAC: 0
Message 13251 - Posted: 8 Oct 2017, 18:53:44 UTC
Last modified: 8 Oct 2017, 18:54:04 UTC

Is anyone else having issues with 1.10 (cuda_fermi) failing immediately on NVIDIA cards? All tasks fail within 2-3 seconds with 195 error/exit code.
ID: 13251 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
stiwi

Send message
Joined: 20 May 12
Posts: 19
Credit: 109,893,954
RAC: 0
Message 13252 - Posted: 8 Oct 2017, 19:00:45 UTC - in response to Message 13251.  

Is anyone else having issues with 1.10 (cuda_fermi) failing immediately on NVIDIA cards? All tasks fail within 2-3 seconds with 195 error/exit code.


What is the error message?

On Windows 7 my card runs fine.

I had a short problem and all tasks failed with:
<core_client_version>7.6.33</core_client_version>
<![CDATA[
<message>
(unknown error) - exit code 195 (0xc3)
</message>
<stderr_txt>
wrapper [26118 765 +dev#]: starting (GPU #0)
17:49:16 (1608): wrapper: running enigma_cuda.exe (-d 0 -R -o results.txt 04trigr.cur 04unigr.cur 04ciphertext)
wrapper [26118 765 +dev#]: starting (GPU #0)
17:53:26 (2200): wrapper: running enigma_cuda.exe (-d 0 -R -o results.txt 04trigr.cur 04unigr.cur 04ciphertext)
CUDA error: C:/Proj/Other/Enigma/enigma-cuda/enigma-cuda-lib/cuda_code.cu:784:  initialization errorInitialization failed: CUDA error: C:/Proj/Other/Enigma/enigma-cuda/enigma-cuda-lib/cuda_code.cu:784:  initialization error
app exit status: 0x2
17:53:32 (2200): called boinc_finish

</stderr_txt>
]]>


But after a restart everything seems fine now.
ID: 13252 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Vig

Send message
Joined: 15 Feb 17
Posts: 6
Credit: 321,895,206
RAC: 0
Message 13253 - Posted: 8 Oct 2017, 19:16:40 UTC - in response to Message 13252.  
Last modified: 8 Oct 2017, 19:22:17 UTC

<core_client_version>7.8.2</core_client_version>
<![CDATA[
<message>
(unknown error) - exit code 195 (0xc3)
</message>
<stderr_txt>
wrapper [26118 765 +dev#]: starting (GPU #0)
14:48:45 (2208): wrapper: running enigma_cuda.exe (-d 0 -R -o results.txt 04trigr.cur 04unigr.cur 04ciphertext)
app exit status: 0xc0000135
14:48:46 (2208): called boinc_finish

</stderr_txt>
]]>

Is the error output I am getting. I tried going back to windows 7, but to the same result. Perhaps it is a driver issue? Which one are you using?

If it is any help my AMD cards run fine.
ID: 13253 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
stiwi

Send message
Joined: 20 May 12
Posts: 19
Credit: 109,893,954
RAC: 0
Message 13254 - Posted: 8 Oct 2017, 19:31:04 UTC

NVIDIA GeForce GTX 1080 (4095MB) driver: 385.41 OpenCL: 1.2

Microsoft Windows 7
Home Premium x64 Edition, Service Pack 1, (06.01.7601.00)
ID: 13254 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Vig

Send message
Joined: 15 Feb 17
Posts: 6
Credit: 321,895,206
RAC: 0
Message 13255 - Posted: 8 Oct 2017, 19:33:13 UTC - in response to Message 13254.  

Interesting. We have almost the same setup except for BOINC version and driver version. I am currently using 385.69. I will roll back to your version and see if that helps.
ID: 13255 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 13256 - Posted: 8 Oct 2017, 19:42:29 UTC - in response to Message 13255.  

Do you have the visual c++ redistributable installed ?
It is the most common thing that causes all the tasks to fail with error 195.
M4 Project homepage
M4 Project wiki
ID: 13256 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Vig

Send message
Joined: 15 Feb 17
Posts: 6
Credit: 321,895,206
RAC: 0
Message 13258 - Posted: 8 Oct 2017, 20:10:43 UTC - in response to Message 13256.  

That was the issue. Thanks TJM!

I forgot the redistributable comes with the AMD drivers, but not the NVIDIA.
ID: 13258 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Maurice Goulois
Avatar

Send message
Joined: 8 Nov 07
Posts: 1
Credit: 16,245,602
RAC: 0
Message 13496 - Posted: 27 Oct 2017, 4:39:25 UTC

Hi :)

Both cuda and opencl versions work fine on my machines, the only errors reported are due to drivers losing contact during the same night on both PCs with GTXs (dear Murphy :)).
ID: 13496 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Yavanius
Avatar

Send message
Joined: 13 May 15
Posts: 15
Credit: 442,308
RAC: 0
Message 13525 - Posted: 7 Nov 2017, 3:16:51 UTC - in response to Message 5305.  

Download and install Visual Studio 2015 c++ redistributable package.


Need to download the 32 bit version. 64 bit doesn't do the trick.
ID: 13525 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Yavanius
Avatar

Send message
Joined: 13 May 15
Posts: 15
Credit: 442,308
RAC: 0
Message 13526 - Posted: 7 Nov 2017, 3:28:26 UTC

W10, BOINC 7.8.3, Visual C 2015 32 BIT installed (and 64 bit)

nVidia NVS4200M - 512mb - driver 385.08

Once I figured out we need the 32 bit Runtime and not the 64 bit it runs fine on my ASUS ROG notebook and didn't crash after 2 seconds on my Dell here. One died after 6 seconds and the other after 13 seconds. I was so hopeful when it ran more than 2 seconds... SIGH

Compute capability shows as 2.1 / OpenCL: 1.1


(unknown error) - exit code 195 (0xc3)</message>
<stderr_txt>
wrapper [26118 765 +dev#]: starting (GPU #0)
19:13:27 (7212): wrapper: running enigma_cuda.exe (-d 0 -R -o results.txt 04trigr.cur 04unigr.cur 04ciphertext)
CUDA error: C:/Proj/Other/Enigma/enigma-cuda/enigma-cuda-lib/cuda_code.cu:663:  unspecified launch failureRuntime error: CUDA error: C:/Proj/Other/Enigma/enigma-cuda/enigma-cuda-lib/cuda_code.cu:663:  unspecified launch failure
app exit status: 0x3
ID: 13526 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Yavanius
Avatar

Send message
Joined: 13 May 15
Posts: 15
Credit: 442,308
RAC: 0
Message 13529 - Posted: 7 Nov 2017, 21:10:01 UTC

I've gotten 2 tasks that have gone over the typical times and are still running although at a 100%. I aborted one and looks like I'll have to abort another one.
ID: 13529 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Aurel

Send message
Joined: 26 Sep 12
Posts: 18
Credit: 921,616
RAC: 0
Message 13557 - Posted: 1 Dec 2017, 21:04:43 UTC

Somehow I´m not getting GPU workunits.
"No tasks available for GPU", as stated via the manager log.
Nearly 2K WU´s are unsent.
ID: 13557 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
tito

Send message
Joined: 3 Sep 07
Posts: 6
Credit: 129,967,523
RAC: 0
Message 13558 - Posted: 1 Dec 2017, 21:23:56 UTC - in response to Message 13557.  

"Run test applications" in Your preferences. It helped in my case.
ID: 13558 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Previous · 1 . . . 7 · 8 · 9 · 10 · 11 · 12 · Next

Message boards : Number crunching : A GPU version of Enigma software




Copyright © 2024 TJM