Variables
test_gpu_visible Namespace Reference

Variables

int vlen = 10
 
int iters = 1000
 
 rng = numpy.random.RandomState(22)
 
 x = shared(numpy.asarray(rng.rand(vlen), config.floatX))
 
 f = function([], T.exp(x))
 
 t0 = time.time()
 
 r = f()
 
 t1 = time.time()
 

Variable Documentation

test_gpu_visible.f = function([], T.exp(x))

Definition at line 11 of file test_gpu_visible.py.

int test_gpu_visible.iters = 1000

Definition at line 7 of file test_gpu_visible.py.

test_gpu_visible.r = f()

Definition at line 15 of file test_gpu_visible.py.

test_gpu_visible.rng = numpy.random.RandomState(22)

Definition at line 9 of file test_gpu_visible.py.

test_gpu_visible.t0 = time.time()

Definition at line 13 of file test_gpu_visible.py.

test_gpu_visible.t1 = time.time()

Definition at line 16 of file test_gpu_visible.py.

int test_gpu_visible.vlen = 10

Definition at line 6 of file test_gpu_visible.py.

test_gpu_visible.x = shared(numpy.asarray(rng.rand(vlen), config.floatX))

Definition at line 10 of file test_gpu_visible.py.