bytedeco/javacpp

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

Open

#645 aperta il 15 dic 2022

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Java (620 fork)batch import
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?

Guida contributor