Skip to content
Extraits de code Groupes Projets
Valider 0d32fd7d rédigé par Giovanna Stefanelli's avatar Giovanna Stefanelli
Parcourir les fichiers

Update README.md

parent a31209c1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #4735 en échec
...@@ -4,15 +4,15 @@ Welcome to project 3! ...@@ -4,15 +4,15 @@ Welcome to project 3!
This program allows to determine if a number is prime otherwise its prime This program allows to determine if a number is prime otherwise its prime
dividers are calculated. dividers are calculated.
The numbers to be considered shall be in an file (*.txt) then the programme The numbers to be considered shall be in an file (*.txt) then the program
can be called with this sintax: can be called with this sintax:
./fact [-N number_of_threads] input_file.txt output_file.txt ./fact [-N number_of_threads] input_file.txt output_file.txt
Whether the number of threads is not defined, the default number of threads is 2. Whether the number of threads is not defined, the default number of threads is 2.
The programme performance could not increase with a too high number of threads The program performance could not increase with a too high number of threads
because, above all, it will depend on the machine architecture (e.g. number of cores). because, above all, it will depend on the machine architecture (e.g. number of cores).
The maximum number of threads allowed by the programme is 20, nevertheless The maximum number of threads allowed by the program is 20, nevertheless
the programme "fact" can be updated by changing the constant MAX_NO_THREADS the program "fact" can be updated by changing the constant MAX_NO_THREADS
(#define MAX_NO_THREADS 20). (#define MAX_NO_THREADS 20).
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter