Skip to content

Commit

Permalink
fix clear gpu mem (PaddlePaddle#119)
Browse files Browse the repository at this point in the history
Co-authored-by: root <root@yq01-inf-hic-k8s-a100-ab2-0009.yq01.baidu.com>
  • Loading branch information
miaoli06 and root committed Sep 17, 2022
1 parent 04110a5 commit 357a451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/framework/data_feed.h
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ class DataFeed {
#endif

virtual void clear_gpu_mem() {
#if defined(PADDLE_WITH_GPU_GRAPH) && defined(PADDLE_WITH_HETEPS)
#if defined(PADDLE_WITH_GPU_GRAPH) && defined(PADDLE_WITH_HETERPS)
gpu_graph_data_generator_.clear_gpu_mem();
#endif
}
Expand Down

0 comments on commit 357a451

Please sign in to comment.