Skip to content

Commit 958e2ae

Browse files
authored
Merge pull request #1 from PaddlePaddle/master
fix CUDAPlace
2 parents 2a7bf17 + 11604c4 commit 958e2ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/quick_start/md/quick_start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Currently our PGL is developed based on static computational mode of paddle (we
4949
import paddle.fluid as fluid
5050

5151
use_cuda = False
52-
place = fluid.GPUPlace(0) if use_cuda else fluid.CPUPlace()
52+
place = fluid.CUDAPlace(0) if use_cuda else fluid.CPUPlace()
5353

5454
# use GraphWrapper as a container for graph data to construct a graph neural network
5555
gw = pgl.graph_wrapper.GraphWrapper(name='graph',

0 commit comments

Comments
 (0)