numba / numba/nvidia-cuda-tutorial

Add section on preventing widening integer indices

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
269
Forks
42
PR merge metrics
No merged PRs in 30d

Description

The section on the widening on integer indices produced in a loop over a `range` seems to accidentally be missing - it should be just before the "Limiting register usage" section in session 2.

This section should explain the use of a while loop and explicit incrementing to generate indices that remain as `int32` instead of being prone to widening to 64 bits as is the case with `range`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.