bytedeco/javacpp
Vedi su GitHubHow to replace deprecated "new Context(Device.TYPE_GPU)"
Open
#645 aperta il 15 dic 2022
help wantedquestion
Metriche repository
- Star
- (4279 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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?