Skip to content

Commit

Permalink
Merge pull request #141 from arashTaher/patch-1
Browse files Browse the repository at this point in the history
Update benchmark.py - Fixing compiler warning
  • Loading branch information
inducer committed Sep 15, 2016
2 parents bff206a + 045ff7d commit 101ab4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/benchmark.py
Expand Up @@ -67,7 +67,7 @@
c_temp = a_temp+b_temp; // sum of my elements
c_temp = c_temp * c_temp; // product of sums
c_temp = c_temp * (a_temp/2.0); // times 1/2 my a
c_temp = c_temp * (a_temp/2.0f); // times 1/2 my a
c[gid] = c_temp; // store result in global memory
}
Expand Down

0 comments on commit 101ab4e

Please sign in to comment.