phaniarnab commented on PR #2271: URL: https://github.com/apache/systemds/pull/2271#issuecomment-2959581314
Thanks for the questions @ReneEnjilian. The github tests do not run GPU tests automatically. The code coverage for the gpu backend needs to be generated manually, which we never did. By Mark's framework, I simply mean the way to use gpu for any Junit tests. Just add `AutomatedTestBase.TEST_GPU = true;` to the test class before runTest. That would internally enable gpu for that test. Then it is up to the SystemDS compiler to leverage gpu. The advantage of using gpu for the Junit tests is that the tests automatically assert correctness against R. Mark used to enable this config before running all Junit tests, allowing all tests to use gpu. My grid search example was from `GPUFullReuseTest.java` under test/functions/lineage. To enable the GPU to be used by the tests, simply comment out the `checkGPU` function along with the `@BeforeClass` tag. I had to keep the checkGPU function to ignore these tests if no gpu is available. In contrast, the Resnet example was an independent dml script which I ran using command line. I will share this script with you via other means. The `systemds` run script might not work for gpu. What worked for you seems to be correct. I use a similar call. Feel free to reach out if you need further help. -- 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: dev-unsubscr...@systemds.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org