Skip to content

Commit affbc59

Browse files
committed
Rename the "g" parameter to "self"
1 parent 9acb384 commit affbc59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

saxpy.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
struct saxpy
99
{
1010
__host__ __device__
11-
void operator()(bulk::agent<> &g, float a, float *x, float *y)
11+
void operator()(bulk::agent<> &self, float a, float *x, float *y)
1212
{
13-
int i = g.index();
13+
int i = self.index();
1414
y[i] = a * x[i] + y[i];
1515
}
1616
};

0 commit comments

Comments
 (0)