-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathREADME-SpecialVersions.txt
More file actions
32 lines (21 loc) · 1.24 KB
/
README-SpecialVersions.txt
File metadata and controls
32 lines (21 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Different mfakto variants can be compiled for special purposes. Here are the
three most common configurations:
mfakto-64k : Optimized for CPUs with 64 kB of L1 cache
Useful for AMD CPUs, but also Intel CPUs when the SievePrimes
value is very high (around 100,000 or above).
Set the SIEVE_SIZE_LIMIT define to 64 in params.h to compile
this version.
mfakto-var : Enables configuration of SieveSize via mfakto.ini
Useful for determining the optimal SieveSize value when sieving
on the CPU, but is about 1-3% slower compared to versions with
the same sieve size fixed at compile time.
Comment out the SIEVE_SIZE_LIMIT define in params.h to create
this build.
mfakto-pi : Displays the OpenCL performance information for each block
Enables accurate measurement of certain metrics, such as the
kernel execution speed and data transfer rate. Intended for
performance tests.
Uncomment the CL_PERFORMANCE_INFO define in params.h to
compile.
Otherwise, these versions are the same as the normal mfakto executable and are
optimized for CPUs with 32 kB of L1 cache.