bytedeco/javacpp

How to replace deprecated "new Context(Device.TYPE_GPU)"

Open

#645 opened on 2022年12月15日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)Java (620 forks)batch import
help wantedquestion

Repository metrics

Stars
 (4,279 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

I used the constructor "new Context(int dtype)" to get information about installed GPU devices. However, in current version this constructor is deprecated. How can I replace this call in modern API?

コントリビューターガイド