CUDA 4.2 Version for Windows Now Available
log in

Advanced search

Message boards : News : CUDA 4.2 Version for Windows Now Available

1 · 2 · Next
Author Message
Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 2
Message 14362 - Posted: 3 Jul 2012, 19:33:48 UTC
Last modified: 3 Jul 2012, 19:34:58 UTC

Collatz v3.11 for CUDA 4.2 has been added as an optimized application. Performance has been improved over both the Collatz v2.xx and v3.11 for OpenCL. This will become a standard Collatz CUDA application once a number of people have run it on a variety of nVidia GPUs.

Mark Henderson
Send message
Joined: 11 Aug 09
Posts: 6
Credit: 25,791,075
RAC: 0
Message 14366 - Posted: 4 Jul 2012, 0:33:31 UTC
Last modified: 4 Jul 2012, 0:40:36 UTC

32 bit link is broken.

Profile arkayn
Volunteer tester
Avatar
Send message
Joined: 30 Aug 09
Posts: 219
Credit: 676,877,192
RAC: 28,917
Message 14367 - Posted: 4 Jul 2012, 0:42:49 UTC
Last modified: 4 Jul 2012, 0:43:40 UTC

He linked to the OpenCL folder instead of the downloads folder.

I tried both 32 and 64 on my GTX-460, both errored out on me.

http://boinc.thesonntags.com/collatz/download/collatz_3.11_windows_intelx86__cuda42.zip
____________

Mark Henderson
Send message
Joined: 11 Aug 09
Posts: 6
Credit: 25,791,075
RAC: 0
Message 14368 - Posted: 4 Jul 2012, 0:49:23 UTC
Last modified: 4 Jul 2012, 1:05:18 UTC

instant errors here also on my 680. I will be cool if it gives as much improvment as it did at GPU Grid, 30-60 percent faster there.

Ashley
Send message
Joined: 22 Jun 12
Posts: 11
Credit: 1,028,851
RAC: 0
Message 14369 - Posted: 4 Jul 2012, 1:10:34 UTC

I also tried it like the others instant error it did not run.

Ashley

Ashley
Send message
Joined: 22 Jun 12
Posts: 11
Credit: 1,028,851
RAC: 0
Message 14370 - Posted: 4 Jul 2012, 2:27:52 UTC

Stderr output

<core_client_version>7.0.25</core_client_version>
<![CDATA[
<message>
- exit code -1073741515 (0xc0000135)
</message>
]]>

http://boinc.thesonntags.com/collatz/result.php?resultid=120019235

there is the info of one of them.

Ashley

Claggy
Send message
Joined: 27 Sep 09
Posts: 288
Credit: 14,320,498
RAC: 0
Message 14371 - Posted: 4 Jul 2012, 8:50:03 UTC - in response to Message 14367.
Last modified: 4 Jul 2012, 8:51:22 UTC

The 64bit version also errored out on my GTX460 with the same error code as Ashley.

Claggy

[SG] ronaldo
Send message
Joined: 29 Mar 12
Posts: 2
Credit: 50,000,370
RAC: 0
Message 14378 - Posted: 5 Jul 2012, 18:09:54 UTC

I have the same rrror (Win7 x64, GTX570)...are there any solutions?

lstefannl
Send message
Joined: 25 Apr 12
Posts: 13
Credit: 828,914,342
RAC: 6,798
Message 14380 - Posted: 5 Jul 2012, 20:09:15 UTC

This is true for me, too

error 1073741515

Win7ULT64, GTX590 (301.42), BOINC-7.0.28

EXAMPLE:
http://boinc.thesonntags.com/collatz/result.php?resultid=119825766
____________

Lazydude2
Send message
Joined: 1 Aug 09
Posts: 5
Credit: 114,906,055
RAC: 0
Message 14385 - Posted: 7 Jul 2012, 7:02:32 UTC

I found this in my Eventlog:
-------
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-07-07T05:09:05.000Z" />
<EventRecordID>38383</EventRecordID>
<Channel>Application</Channel>
<Computer>ABBY</Computer>
<Security />
</System>
- <EventData>
<Data>collatz_3.11_windows_x86_64__cuda42.exe</Data>
<Data>0.0.0.0</Data>
<Data>4ff322b3</Data>
<Data>cudart64_40_17.dll</Data>
<Data>6.0.6002.18541</Data>
<Data>4ec3e855</Data>
<Data>c0000135</Data>
<Data>00000000000b6fc8</Data>
<Data>d54</Data>
<Data>01cd5bfea14486ab</Data>
</EventData>
</Event>

--------------------------

Solution:
I Changed the Filename cudart64_42_9.dll to cudart64_40_17.dll
and uppdated the app_info.xml with the new filename.

It seems to work for me.


lstefannl
Send message
Joined: 25 Apr 12
Posts: 13
Credit: 828,914,342
RAC: 6,798
Message 14387 - Posted: 7 Jul 2012, 12:20:44 UTC

@lazydude2:

This was apparently the cure. ThanX!

To my perception, the application error recorded by your system does not neccessarily show up in windows event log.

But it worked for me, too. And hence your trick is worth the trial, anyway.

My GTX590 shows moderate load, so I presume somme fiddeling with the parameters in app_info.xml is due, now.

[SG] ronaldo
Send message
Joined: 29 Mar 12
Posts: 2
Credit: 50,000,370
RAC: 0
Message 14388 - Posted: 7 Jul 2012, 14:41:16 UTC

@Lazydude2:
thanks, thats works fine now!

Mark Henderson
Send message
Joined: 11 Aug 09
Posts: 6
Credit: 25,791,075
RAC: 0
Message 14391 - Posted: 7 Jul 2012, 17:17:32 UTC
Last modified: 7 Jul 2012, 17:42:32 UTC

Changing the K value to 256 is giving me about a 92% utilization on my 680 now. You can change the S1 to SO but it will use a whole core.
Question, when I change the app info file, do I have to exit Boinc and reopen to read the new values, or is there a better way?

1500 sec. with 4.2 vs. 1843 sec. on stock 2.3 app.

Mark Henderson
Send message
Joined: 11 Aug 09
Posts: 6
Credit: 25,791,075
RAC: 0
Message 14394 - Posted: 8 Jul 2012, 1:09:28 UTC

Im using these values and getting 97-99% utilization.

K1024 I524288 S0

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 2
Message 14401 - Posted: 9 Jul 2012, 7:27:49 UTC - in response to Message 14385.

I found this in my Eventlog:
-------
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-07-07T05:09:05.000Z" />
<EventRecordID>38383</EventRecordID>
<Channel>Application</Channel>
<Computer>ABBY</Computer>
<Security />
</System>
- <EventData>
<Data>collatz_3.11_windows_x86_64__cuda42.exe</Data>
<Data>0.0.0.0</Data>
<Data>4ff322b3</Data>
<Data>cudart64_40_17.dll</Data>
<Data>6.0.6002.18541</Data>
<Data>4ec3e855</Data>
<Data>c0000135</Data>
<Data>00000000000b6fc8</Data>
<Data>d54</Data>
<Data>01cd5bfea14486ab</Data>
</EventData>
</Event>

--------------------------

Solution:
I Changed the Filename cudart64_42_9.dll to cudart64_40_17.dll
and uppdated the app_info.xml with the new filename.

It seems to work for me.




cudart64_40_17.dll is a CUDA 4.0 DLL. The build is for CUDA 4.2.

So.... updating the drivers to v4.2 build 9 (cuda64_42_9.dll) would have worked. On the other hand, this is pretty good news in that using CUDA 4.0 build 17 would also work but requires renaming the 4.2 DLLs so it thinks they are v4.2 DLLs -- which works with the app_info but not very well as a standard app. I guess I should have put the driver version in the readme (e.g. 301.42 or higher).

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 2
Message 14402 - Posted: 9 Jul 2012, 7:29:23 UTC - in response to Message 14394.

Im using these values and getting 97-99% utilization.

K1024 I524288 S0


I assume that uses 100% of a CPU as well. How does the speed compare to the previous apps?

Lazydude2
Send message
Joined: 1 Aug 09
Posts: 5
Credit: 114,906,055
RAC: 0
Message 14404 - Posted: 9 Jul 2012, 8:47:28 UTC - in response to Message 14401.
Last modified: 9 Jul 2012, 8:53:59 UTC


cudart64_40_17.dll is a CUDA 4.0 DLL. The build is for CUDA 4.2.

So.... updating the drivers to v4.2 build 9 (cuda64_42_9.dll) would have worked. On the other hand, this is pretty good news in that using CUDA 4.0 build 17 would also work but requires renaming the 4.2 DLLs so it thinks they are v4.2 DLLs -- which works with the app_info but not very well as a standard app. I guess I should have put the driver version in the readme (e.g. 301.42 or higher).



Yes, but if I understand things correct:
collatz_3.11_windows_x86_64__cuda42.exe calls for cudart64_40_17.dll
I´ll suspect this is "hardcoded" in the build.

If I open collatz_3.11_windows_x86_64__cuda42.exe in NOTEPAD and search for cudart64_4 i find cudart64_40_17.dll not cuda64_42_9.dll

This is On MS Vista64 and a NV 560Ti
//lazy

Arjan Scholl
Send message
Joined: 22 Mar 10
Posts: 4
Credit: 3,030,730
RAC: 0
Message 14406 - Posted: 9 Jul 2012, 15:00:57 UTC
Last modified: 9 Jul 2012, 15:27:40 UTC

It runs great now on my GTX580 after doing the .DLL file renaming trick.
I'm running it with K1024 I524288 S1 settings with 99% GPU load 20% memory controller load.
On default settings it only had 17% gpu load.

Edit: First workunit complete it now takes 1593 seconds as opposed to 2637 seconds on 3.11 (OpenCL) i haven't tested version 2 (Cuda)

lstefannl
Send message
Joined: 25 Apr 12
Posts: 13
Credit: 828,914,342
RAC: 6,798
Message 14409 - Posted: 9 Jul 2012, 17:25:26 UTC - in response to Message 14404.

(...)
collatz_3.11_windows_x86_64__cuda42.exe calls for cudart64_40_17.dll
I´ll suspect this is "hardcoded" in the build.

If I open collatz_3.11_windows_x86_64__cuda42.exe in NOTEPAD and search for cudart64_4 i find cudart64_40_17.dll not cuda64_42_9.dll
(...)
//lazy


Due to this finding the exe was obviously linked against an CUDA-4.0 dll. And hence it won't use CUDA-4.2 features. For this reason it will run sub-optimal. Am I wrong?

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 2
Message 14411 - Posted: 9 Jul 2012, 18:09:52 UTC

DOH! I have both CUDA 4.0 and 4.2 installed and even though I linked to the CUDA 4.2 lib, it used the 4.0 DLL which was first in the path. The same is true of the 32 bit app.

Looks like I should do two things: First, re-package the current one with the v4.0 DLLs and second, do a new build with 4.2 and package that with the 4.2 DLLs.

1 · 2 · Next
Post to thread

Message boards : News : CUDA 4.2 Version for Windows Now Available


Main page · Your account · Message boards


Copyright © 2018 Jon Sonntag; All rights reserved.