Skip to content

Commit 8fcc36f

Browse files
Remove MTPCPU (multithreadprocslaz) dependency. #143
1 parent 4d5879a commit 8fcc36f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neural/neuralthread.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ interface
5656
uses
5757
Classes, SysUtils,
5858
{$IFDEF FPC}
59-
fgl, MTPCPU
59+
fgl
6060
{$IFDEF WINDOWS}
6161
,windows
6262
{$ELSE}
@@ -177,7 +177,7 @@ procedure CreateNeuralThreadListIfRequired();
177177
function NeuralDefaultThreadCount: integer;
178178
begin
179179
{$IFDEF FPC}
180-
Result := GetSystemThreadCount;
180+
Result := GetCPUCount;
181181
{$ELSE}
182182
Result := TThread.ProcessorCount;
183183
{$ENDIF}

0 commit comments

Comments
 (0)