Change integer data types used for indexing large arrays
Change use of int to store data array sizes / indexes to size_t. This avoids problems on GPUs with large amounts of memory where the sizes of arrays can exceed the storage range for an int.
Change use of int to store data array sizes / indexes to size_t. This avoids problems on GPUs with large amounts of memory where the sizes of arrays can exceed the storage range for an int.