krickert commented on code in PR #1462:
URL: https://github.com/apache/opennlp/pull/1462#discussion_r4244011519
##########
opennlp-core/opennlp-ml/opennlp-dl/src/test/java/opennlp/dl/ColdStartCudaProbe.java:
##########
@@ -37,6 +37,12 @@ public final class ColdStartCudaProbe {
private ColdStartCudaProbe() {
}
+ /**
+ * Requests the CUDA execution provider for device {@code 0} and prints
{@link #ADDED} or
+ * {@link #REJECTED} followed by the ONNX Runtime error.
+ *
+ * @param args Not used.
+ */
public static void main(String[] args) {
Review Comment:
I removed it and realized that a small `main` is still needed so the test
starts a child JVM, and that needs an entry point. So keeping it but adding a
clean one-sentence description
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]