def do_not_test_cublas_mixing(self): self.test_streamed_kernel() import pycuda.blas as blas shape = (10,) a = blas.ones(shape, dtype=numpy.float32) b = 33*blas.ones(shape, dtype=numpy.float32) self.assert_(((-a+b).from_gpu() == 32).all()) self.test_streamed_kernel()
def donottest_cublas_mixing(self): self.test_streamed_kernel() import pycuda.blas as blas shape = (10, ) a = blas.ones(shape, dtype=np.float32) b = 33 * blas.ones(shape, dtype=np.float32) assert ((-a + b).from_gpu() == 32).all() self.test_streamed_kernel()
def donottest_cublas_mixing(): test_streamed_kernel() import pycuda.blas as blas shape = (10,) a = blas.ones(shape, dtype=np.float32) b = 33*blas.ones(shape, dtype=np.float32) assert ((-a+b).from_gpu() == 32).all() test_streamed_kernel()