mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 17:54:27 +00:00
Remove cublas dependency
This commit is contained in:
@@ -14,6 +14,8 @@ __global__ void mat_vec_mul_kernel(
|
||||
return;
|
||||
}
|
||||
|
||||
d_output[tid] = 0.0f;
|
||||
|
||||
for (int i = 0; i < w; i++) {
|
||||
d_output[tid] += d_matrix[tid * w + i] * d_vector[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user