jeffwong / cudaglmnet

A lasso solver on the GPU
11 stars 3 forks source link

active variable set redundant computations #4

Closed jeffwong closed 11 years ago

jeffwong commented 11 years ago

isActive array is copied from device to host, then host counts the number of 1's. This can be done by summing the isActive array numActive is set and then copied from host to device