maximum resource share value?

Message boards : Questions and problems : maximum resource share value?
Message board moderation

To post messages, you must log in.

AuthorMessage
gpugridsux

Send message
Joined: 24 Apr 09
Posts: 3
United States
Message 24526 - Posted: 24 Apr 2009, 20:30:55 UTC

I can't find and don't feel like hunting through the code to find out what the maximum value of resource share is? I am guessing it is 16 byte int so it signed would be like 32000. The reason is gpugrid on the ps3 is horribly broken right now and the only way I can disable it remotely with no access to the machine is set its resource share to 1 and yoyo to a large number. Thank you in advance.
ID: 24526 · Report as offensive
gpugridsux

Send message
Joined: 24 Apr 09
Posts: 3
United States
Message 24528 - Posted: 24 Apr 2009, 21:00:37 UTC - in response to Message 24527.  
Last modified: 24 Apr 2009, 21:04:15 UTC

Actually I did get bored and looked at the code. As makes sense when I actually thought about it resource share is stored as a standard C float. Thus the largest maximum value possible is 1E+37 according to float.h. A truly huge number woot!
ID: 24528 · Report as offensive
gpugridsux

Send message
Joined: 24 Apr 09
Posts: 3
United States
Message 24557 - Posted: 25 Apr 2009, 20:42:28 UTC - in response to Message 24543.  

Hmm strange it allows bigger than 1E+37. Oh well don't feel like researching. I know maximum float value in Java is bigger and is below.

The largest maximum value possible is 3.40282346638528860e+38.
ID: 24557 · Report as offensive

Message boards : Questions and problems : maximum resource share value?

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.