mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] marcoabreu commented on issue #10354: Expose the number of GPUs.
Date Tue, 10 Apr 2018 21:00:35 GMT
marcoabreu commented on issue #10354: Expose the number of GPUs.
URL: https://github.com/apache/incubator-mxnet/pull/10354#issuecomment-380244822
 
 
   I think that we should be returning 0 since that's the actual number of GPUs present. 
   
   Additionally, we could return a special value like -1 or an exception to indicate the binary
was built without CUDA support. In that case, a test would either expect an exception for
our cpu builds or a positive number for our gpu builds.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message