Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
apex
Commits
fa8e7d99
"tests/vscode:/vscode.git/clone" did not exist on "9273387ead0545e60c9e09ad2fa40e6e5ce3188c"
Commit
fa8e7d99
authored
Apr 03, 2022
by
Thor Johnsen
Browse files
Clean up code
parent
05dd9c69
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1884 additions
and
1773 deletions
+1884
-1773
apex/contrib/csrc/bottleneck/bottleneck.cpp
apex/contrib/csrc/bottleneck/bottleneck.cpp
+1883
-1772
apex/contrib/csrc/peer_memory/peer_memory_cuda.cu
apex/contrib/csrc/peer_memory/peer_memory_cuda.cu
+1
-1
No files found.
apex/contrib/csrc/bottleneck/bottleneck.cpp
View file @
fa8e7d99
This diff is collapsed.
Click to expand it.
apex/contrib/csrc/peer_memory/peer_memory_cuda.cu
View file @
fa8e7d99
...
...
@@ -388,7 +388,7 @@ void push_pull_halos_1d(
const
int
numThreads
=
128
;
dim3
block
(
numThreads
,
1
,
1
);
AT_DISPATCH_ALL_TYPES_AND
(
at
::
ScalarType
::
Half
,
top_out_halo
.
scalar_type
(),
"push_pull_halos_1d_kernel"
,
[
&
]{
if
(
diagnostics
)
printf
(
"size(scalar_t) = %d
\n
"
,
sizeof
(
scalar_t
));
if
(
diagnostics
)
printf
(
"size(scalar_t) = %
l
d
\n
"
,
sizeof
(
scalar_t
));
scalar_t
*
toh_p
=
top_out_halo
.
data_ptr
<
scalar_t
>
();
scalar_t
*
tox_p
=
top_out_tx
.
data_ptr
<
scalar_t
>
();
scalar_t
*
tix_p
=
top_inp_tx
.
data_ptr
<
scalar_t
>
();
...
...
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