Peter Davies
-
Content Count
7 -
Joined
-
Last visited
Posts posted by Peter Davies
-
-
17 minutes ago, David Heffernan said:Affinity masks for pointer sized.
I'm sorry but I don't understand?
affMask receives the Result of 'Mask' which returns 'NativeUInt' not DWORD....
-- Peter.
-
OK,
so just changed line 3755 of OtlCommon.pas to:
affMask: NativeUInt;
instead of:
affMask: DWORD;
and it's off and running...
This has to be a bug no?
-- Peter.
-
Well, this is weird...
So I put together a test application to post...
And it works... we must be pulling in something which is redefining an API call or something...
I'll update if/when I find anything...
-- Peter.
-
3 hours ago, David Heffernan said:Don't try to use more than 48 threads in that case
Happens with Just 15...
I'll get some code up tomorrow.
-- Peter.
-
Hi,
It is 48 with 2 threads per core
AWS Virtual Machine, m5a.24xlarge
as specified here: AWS Specs
Thanks,
-- Peter.
-
Hi,
We have recently started using the OmniThreadLibrary in our software to increase our scalability. It is showing great signs of doing this so far. We have today hit a major snag however.
We tried running the code on a 96vCPU machine with 360+ GB of memory...
The simple loop we are trying to create fails at the first hurdle with a 'Range Check Error', I traced this to the FNumTasks assignment.
I can try and code around that but the loop then doesn't execute.
Any clues?
I can get an example up later if required.
Thanks in advance,
-- Peter.
Problems running in 64 bit mega PC
in OmniThreadLibrary
Posted
So you are agreeing that it should be NativeUInt not DWORD 😄