Closed jeffwong closed 11 years ago
thrust::device_vector(n, init) initializes device memory than does a memcpy to initialize the values. It is only necessary to init X and y, the other vectors can be left alone with random values, saving many memcpys
thrust::device_vector(n, init) initializes device memory than does a memcpy to initialize the values. It is only necessary to init X and y, the other vectors can be left alone with random values, saving many memcpys