Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
2021
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
lecture-HPC
2021
Commits
6ccb7c97
Commit
6ccb7c97
authored
3 years ago
by
thierry
Browse files
Options
Downloads
Patches
Plain Diff
Update
parent
2d7a01fa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openmp/8-dotproduct-v0.cpp
+1
-1
1 addition, 1 deletion
openmp/8-dotproduct-v0.cpp
with
1 addition
and
1 deletion
openmp/8-dotproduct-v0.cpp
+
1
−
1
View file @
6ccb7c97
#include
<omp.h>
#define MAX_THREADS 128
float
dotproduct
(
float
*
x
,
in
t
*
y
,
int
n
)
float
dotproduct
(
float
*
x
,
floa
t
*
y
,
int
n
)
{
int
i
;
int
nthreads
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment