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
c2c9b1b8
Commit
c2c9b1b8
authored
4 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
RF: Added support for CUDA 10.1
parent
5f6cbab7
No related branches found
No related tags found
No related merge requests found
Pipeline
#5797
passed
4 years ago
Stage: fsl-ci-build
Stage: fsl-ci-deploy
Changes
2
Pipelines
15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/common/buildSettings.mk
+1
-1
1 addition, 1 deletion
config/common/buildSettings.mk
config/common/supportedGencodes.sh
+7
-8
7 additions, 8 deletions
config/common/supportedGencodes.sh
with
8 additions
and
9 deletions
config/common/buildSettings.mk
+
1
−
1
View file @
c2c9b1b8
...
@@ -99,7 +99,7 @@ ifneq ($(shell which nvcc), )
...
@@ -99,7 +99,7 @@ ifneq ($(shell which nvcc), )
NVCC
?=
nvcc
NVCC
?=
nvcc
CUDAVER
?=
$(
shell nvcc
--version
|
grep
-Po
"release
\K
[0-9
\.
]+"
)
CUDAVER
?=
$(
shell nvcc
--version
|
grep
-Po
"release
\K
[0-9
\.
]+"
)
GENCODEFLAGS
?=
$(
shell
${
FSLDIR
}
/config
/common/supportedGencodes.sh
${
CUDAVER
})
GENCODEFLAGS
?=
$(
shell
${
FSL
CONF
DIR
}
/common/supportedGencodes.sh
${
CUDAVER
})
CUDADIR
?=
${
FSLDIR
}
CUDADIR
?=
${
FSLDIR
}
# nvcc-specific tweaks:
# nvcc-specific tweaks:
...
...
This diff is collapsed.
Click to expand it.
config/common/supportedGencodes.sh
+
7
−
8
View file @
c2c9b1b8
...
@@ -8,14 +8,6 @@
...
@@ -8,14 +8,6 @@
default_arch
=
"-gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35"
default_arch
=
"-gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35"
vn
=
$1
vn
=
$1
default_allowed
=
$2
if
[
"
$default_allowed
"
=
default_allowed
]
;
then
echo
$default_arch
exit
0
else
exit
1
fi
if
[
"
$vn
"
=
5.5
]
if
[
"
$vn
"
=
5.5
]
then
then
...
@@ -57,4 +49,11 @@ elif [ "$vn" = 10.0 ]
...
@@ -57,4 +49,11 @@ elif [ "$vn" = 10.0 ]
then
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"
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
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
else
echo
$default_arch
exit
0
fi
fi
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