dmlc / dgl

Python package built to ease deep learning on graph, on top of existing DL frameworks.
http://dgl.ai
Apache License 2.0
13.36k stars 3k forks source link

[GraphBolt][CUDA] Ensure GPUCache has can store at least 1 item. #7544

Closed mfbalin closed 1 month ago

mfbalin commented 1 month ago

Description

When it is constructed with 0, the code can crash unexpectedly. It is better to give a good error message instead.

Checklist

Please feel free to remove inapplicable items for your PR.

Changes

dgl-bot commented 1 month ago

To trigger regression tests:

dgl-bot commented 1 month ago

Commit ID: 00fa6acae53188b048145085ca20bb6f956b3fd3

Build ID: 1

Status: ✅ CI test succeeded.

Report path: link

Full logs path: link