Skip to content

Commit

Permalink
Update datatype consistency: uint to unsigned int
Browse files Browse the repository at this point in the history
  • Loading branch information
marzvrover committed May 16, 2020
1 parent dfe9826 commit 69d1a4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Closed-form Fibonacci on GPU/fibonacci.metal
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ unsigned int fibonacci(unsigned int index);
unsigned int binetsFormula(unsigned int n);

// initialize methods
kernel void fibonacci(device uint* start,
device uint* result,
kernel void fibonacci(device unsigned int* start,
device unsigned int* result,
unsigned int index [[thread_position_in_grid]])
{
result[index] = fibonacci(*start + index);
Expand Down

0 comments on commit 69d1a4e

Please sign in to comment.