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
dgl
Commits
64df37f7
Unverified
Commit
64df37f7
authored
Aug 22, 2023
by
Andrei Ivanov
Committed by
GitHub
Aug 23, 2023
Browse files
Improving gpu_cache test. (#6195)
parent
f6dec359
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/python/common/cuda/test_gpu_cache.py
tests/python/common/cuda/test_gpu_cache.py
+1
-1
No files found.
tests/python/common/cuda/test_gpu_cache.py
View file @
64df37f7
...
...
@@ -25,7 +25,7 @@ D = 5
def
generate_graph
(
idtype
,
grad
=
False
,
add_data
=
True
):
g
=
dgl
.
DGLG
raph
().
to
(
F
.
ctx
(),
dtype
=
idtype
)
g
=
dgl
.
g
raph
(
[]
).
to
(
F
.
ctx
(),
dtype
=
idtype
)
g
.
add_nodes
(
10
)
u
,
v
=
[],
[]
# create a graph where 0 is the source and 9 is the sink
...
...
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