bytedeco/javacpp
View on GitHubHow to replace deprecated "new Context(Device.TYPE_GPU)"
Open
#645 opened on Dec 15, 2022
help wantedquestion
Repository metrics
- Stars
- (4,279 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
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?