Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
base
Commits
c971adb7
Commit
c971adb7
authored
4 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Plain Diff
Merge branch 'rf/cuda' into 'master'
Rf/cuda See merge request
!8
parents
9dc86ade
a4740db5
No related branches found
Branches containing commit
Tags
2101.5
Tags containing commit
1 merge request
!8
Rf/cuda
Pipeline
#8770
failed
3 years ago
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+7
-0
7 additions, 0 deletions
CHANGELOG.md
config/supportedGencodes.sh
+48
-0
48 additions, 0 deletions
config/supportedGencodes.sh
config/vars.mk
+10
-6
10 additions, 6 deletions
config/vars.mk
with
65 additions
and
6 deletions
CHANGELOG.md
+
7
−
0
View file @
c971adb7
# FSL base project changelog
## 2101.5 (Saturday 23rd January 2021)
-
Updated the
`supportedGencodes.sh`
script to support CUDA versions
10.
2, 11.1 and 11.2.
-
Fixed a bug in the final creation of
`NVCCFLAGS`
and
`NVCCLDFLAGS`
.
## 2101.4 (Friday 22nd January 2021)
-
Fixed a bug in the default CFLAGS assignment under Linux.
...
...
This diff is collapsed.
Click to expand it.
config/supportedGencodes.sh
+
48
−
0
View file @
c971adb7
...
...
@@ -150,6 +150,22 @@ then
-gencode arch=compute_75,code=sm_75"
exit
0
elif
[
"
$vn
"
=
10.1
]
then
echo
"-gencode arch=compute_30,code=sm_30
\
-gencode arch=compute_32,code=sm_32
\
-gencode arch=compute_35,code=sm_35
\
-gencode arch=compute_37,code=sm_37
\
-gencode arch=compute_50,code=sm_50
\
-gencode arch=compute_52,code=sm_52
\
-gencode arch=compute_53,code=sm_53
\
-gencode arch=compute_60,code=sm_60
\
-gencode arch=compute_61,code=sm_61
\
-gencode arch=compute_62,code=sm_62
\
-gencode arch=compute_70,code=sm_70
\
-gencode arch=compute_72,code=sm_72
\
-gencode arch=compute_75,code=sm_75"
exit
0
elif
[
"
$vn
"
=
10.2
]
then
echo
"-gencode arch=compute_30,code=sm_30
\
-gencode arch=compute_32,code=sm_32
\
...
...
@@ -180,6 +196,38 @@ then
-gencode arch=compute_75,code=sm_75
\
-gencode arch=compute_80,code=sm_80"
exit
0
elif
[
"
$vn
"
=
11.1
]
then
echo
"-gencode arch=compute_35,code=sm_35
\
-gencode arch=compute_37,code=sm_37
\
-gencode arch=compute_50,code=sm_50
\
-gencode arch=compute_52,code=sm_52
\
-gencode arch=compute_53,code=sm_53
\
-gencode arch=compute_60,code=sm_60
\
-gencode arch=compute_61,code=sm_61
\
-gencode arch=compute_62,code=sm_62
\
-gencode arch=compute_70,code=sm_70
\
-gencode arch=compute_72,code=sm_72
\
-gencode arch=compute_75,code=sm_75
\
-gencode arch=compute_80,code=sm_80
\
-gencode arch=compute_86,code=sm_86"
exit
0
elif
[
"
$vn
"
=
11.2
]
then
echo
"-gencode arch=compute_35,code=sm_35
\
-gencode arch=compute_37,code=sm_37
\
-gencode arch=compute_50,code=sm_50
\
-gencode arch=compute_52,code=sm_52
\
-gencode arch=compute_53,code=sm_53
\
-gencode arch=compute_60,code=sm_60
\
-gencode arch=compute_61,code=sm_61
\
-gencode arch=compute_62,code=sm_62
\
-gencode arch=compute_70,code=sm_70
\
-gencode arch=compute_72,code=sm_72
\
-gencode arch=compute_75,code=sm_75
\
-gencode arch=compute_80,code=sm_80
\
-gencode arch=compute_86,code=sm_86"
exit
0
else
echo
$default_arch
exit
0
...
...
This diff is collapsed.
Click to expand it.
config/vars.mk
+
10
−
6
View file @
c971adb7
...
...
@@ -110,11 +110,15 @@ CXXFLAGS += ${CPPFLAGS} ${ARCHCXXFLAGS} ${USRCXXFLAGS} ${INCFLAGS}
LDFLAGS
+=
${
ARCHLDFLAGS
}
${
USRLDFLAGS
}
\
-L
.
-L
${
DEVLIBDIR
}
-L
${
LIBDIR
}
\
${
LIBS
}
${
ARCHLIBS
}
NVCCFLAGS
+=
${
CPPFLAGS
}
\
${
ARCHNVCCFLAGS
}
${
ARCHCXXFLAGS
}
\
${
USRNVCCFLAGS
}
${
USRCXXFLASG
}
\
NVCCFLAGS
+=
--compiler-options
"
${
CPPFLAGS
}
"
\
${
ARCHNVCCFLAGS
}
\
--compiler-options
"
${
ARCHCXXFLAGS
}
"
\
${
USRNVCCFLAGS
}
\
--compiler-options
"
${
USRCXXFLASG
}
"
\
${
INCFLAGS
}
NVCCLDFLAGS
+=
${
ARCHNVCCLDFLAGS
}
${
ARCHLDFLAGS
}
\
${
USRNVCCLDFLAGS
}
${
USRLDFLAGS
}
\
-L
.
-L
${
DEVLIBDIR
}
-L
${
LIBDIR
}
\
NVCCLDFLAGS
+=
${
ARCHNVCCLDFLAGS
}
\
--compiler-options
"
${
ARCHLDFLAGS
}
"
\
${
USRNVCCLDFLAGS
}
\
--compiler-options
"
${
USRLDFLAGS
}
"
\
-L
.
-L
${
DEVLIBDIR
}
-L
${
LIBDIR
}
\
${
LIBS
}
${
CUDALIBS
}
${
ARCHLIBS
}
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