Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
970cffa2
"flash_mla/vscode:/vscode.git/clone" did not exist on "c353b35b3c90f8aeb684261d882f3c7975bb5d51"
Commit
970cffa2
authored
Sep 01, 2017
by
peastman
Browse files
Change to work correctly on volta
parent
e32875f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/cuda/src/CudaContext.cpp
platforms/cuda/src/CudaContext.cpp
+1
-1
No files found.
platforms/cuda/src/CudaContext.cpp
View file @
970cffa2
...
@@ -240,7 +240,7 @@ CudaContext::CudaContext(const System& system, int deviceIndex, bool useBlocking
...
@@ -240,7 +240,7 @@ CudaContext::CudaContext(const System& system, int deviceIndex, bool useBlocking
// Don't generate Volta-specific code until we've made the changes needed
// Don't generate Volta-specific code until we've made the changes needed
// to support it properly.
// to support it properly.
major
=
6
;
major
=
6
;
minor
=
2
;
minor
=
0
;
}
}
gpuArchitecture
=
intToString
(
major
)
+
intToString
(
minor
);
gpuArchitecture
=
intToString
(
major
)
+
intToString
(
minor
);
computeCapability
=
major
+
0.1
*
minor
;
computeCapability
=
major
+
0.1
*
minor
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment