Skip to content
GitLab
Explorer
Connexion
S'inscrire
Navigation principale
Rechercher ou aller à…
Projet
P
Projet 3 - Q6
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de conteneur
Registre de modèles
Opération
Environnements
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Conditions générales et politique de confidentialité
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Giovanna Stefanelli
Projet 3 - Q6
Validations
0d32fd7d
Valider
0d32fd7d
rédigé
5 years ago
par
Giovanna Stefanelli
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
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
5 years ago
Étape : external
Modifications
1
Pipelines
1
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
README.md
+4
-4
4 ajouts, 4 suppressions
README.md
avec
4 ajouts
et
4 suppressions
README.md
+
4
−
4
Voir le fichier @
0d32fd7d
...
@@ -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 program
me
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 program
me
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 program
me
is 20, nevertheless
The maximum number of threads allowed by the program is 20, nevertheless
the program
me
"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).
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter