Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ GitHub repository for participants of the "Python on GPUs" training.
For information on the training, see the website
[https://gjbex.github.io/Python-on-GPUs/](https://gjbex.github.io/Python-on-GPUs/)

**Note: this is work in progress**

## What is it?

Expand Down
4 changes: 2 additions & 2 deletions source-code/numba.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@
" x_stride, y_stride = cuda.gridsize(2)\n",
" for i in range(x, Z.shape[0], x_stride):\n",
" for j in range(y, Z.shape[1], y_stride):\n",
" nr_steps[j, i] = 0\n",
" nr_steps[i, j] = 0\n",
" z = Z[i][j]\n",
" while z.real*z.real + z.imag*z.imag < np.float32(2.0) and nr_steps[j][i] < max_steps: \n",
" z = z*z + c\n",
Expand Down Expand Up @@ -1575,7 +1575,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.10.8"
}
},
"nbformat": 4,
Expand Down