Hi Ramana,
I tried executing only pygpu tests through script and it works.
* import pygpu*
* os.environ["DEVICE"] = "cuda0"*
* print("Running pygpu tests")*
* pygpu.test()*
However when I have theano.test() executed before pygpu.test() as in my
earlier post then I see the Context not registered error.
The error seen when device is not set is:
ERROR: Failure: RuntimeError (No test device specified. Specify one using
the DEVICE or GPUARRAY_TEST_DEVICE environment variables.)
So as it appears to me this error is not due to the device config. Please
suggest if I misunderstood something.
Regards
Deepali
On Thursday, February 23, 2017 at 10:34:16 PM UTC+5:30, Ramana Subramanyam
wrote:
>
> Hi Deepali,
> You cannot set the device at the run time. There are few things that could
> not be edited at runtime. You can refer to config section of the
> documentation.
>
> Ramana
>
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.