Skip to content

Commit

Permalink
tinyfix
Browse files Browse the repository at this point in the history
  • Loading branch information
eliazonta committed Sep 20, 2023
1 parent 848d039 commit c98ba2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/parallel/parallel.cu
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "../../include/parallel.h"
#include "../../include/parallel.cuh"
// Parallel SpMV
__global__
void spmv_csr(const int *row_ptr, const int *col_ind, const float *values, const int num_rows, const float *x, float *y) {
// Grid-stride loop for dot product
// grid stride loop for dot product
for (int i = blockIdx.x * blockDim.x + threadIdx.x; i < num_rows; i += blockDim.x * gridDim.x) {
float dp = 0;
const int row_start = row_ptr[i];
Expand Down

0 comments on commit c98ba2c

Please sign in to comment.