Message boards : Questions and problems : maximum resource share value?
Message board moderation
Author | Message |
---|---|
Send message Joined: 24 Apr 09 Posts: 3 ![]() |
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. |
Send message Joined: 24 Apr 09 Posts: 3 ![]() |
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! |
Send message Joined: 24 Apr 09 Posts: 3 ![]() |
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. |
Copyright © 2025 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.