Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pi
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
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
pub
pi
Commits
468d7ce4
Commit
468d7ce4
authored
3 years ago
by
Neil Gershenfeld
Browse files
Options
Downloads
Patches
Plain Diff
wip
parent
78999273
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#16407
passed
3 years ago
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CUDA/cudapi.cu
+1
-1
1 addition, 1 deletion
CUDA/cudapi.cu
with
1 addition
and
1 deletion
CUDA/cudapi.cu
+
1
−
1
View file @
468d7ce4
...
@@ -12,7 +12,7 @@ uint64_t blocks = 1024;
...
@@ -12,7 +12,7 @@ uint64_t blocks = 1024;
uint64_t
threads
=
1024
;
uint64_t
threads
=
1024
;
uint64_t
nloop
=
1000000
;
uint64_t
nloop
=
1000000
;
uint64_t
npts
=
blocks
*
threads
;
uint64_t
npts
=
blocks
*
threads
;
void
cudaCheck
(
char
*
msg
)
{
void
cudaCheck
(
string
msg
)
{
cudaError
err
;
cudaError
err
;
err
=
cudaGetLastError
();
err
=
cudaGetLastError
();
if
(
cudaSuccess
!=
err
)
if
(
cudaSuccess
!=
err
)
...
...
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