You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 34c7344
Browse filesBrowse the repository at this point in the historyBrowse files
- Refactor argument passing so that instead of implicitly-spawned
`ImplementedDataInfo` objects, there are actual arguments (for
automatic offsets and strides, base storage, and `sep`-tagged arrays).
It also centralizes the logic for what goes into argument lists,
instead of having various "filtered" versions scattered about.
- Get started on type-annotating a bit of loopy.
- Switch a not-small number of data structures to be dataclasses, notably `LoopKernel`.
- Drop OCCA support from the ISPC target. (I'm not aware of any users, ever.)
- Drop the Numba target outright. (I'm not aware of any users, ever.)
- Drop `LoopKernel.local_sizes`, which was usable to directly set the
workgroup size. (I'm not aware of any users, ever.)
- Expire the deprecation for `iname_to_tags`.
- Bumps the Python compatibility target to 3.8, for `from __future__
import annotations` and `cached_property` (mypy does not support
nested decorators)
- Bug fix: `tags` was not part of `LoopKernel.hash_fields`
- Bug fix: `InstructionBase.get_write_dependency_names()` was used to
find written variables, `InstructionBase.assignee_var_names()` is
correct
- Bug fix: KernelExecutorBase now uses linearize() so as to not bypass
pre-linearization checks (cf. gh-639)
@@ -1297,15 +1297,15 @@ The kernel translates into two OpenCL kernels.
1297
1297
#define lid(N) ((int) get_local_id(N))
1298
1298
#define gid(N) ((int) get_group_id(N))
1299
1299
<BLANKLINE>
1300
-
__kernel void __attribute__ ((reqd_work_group_size(16, 1, 1))) rotate_v2(__global int *__restrict__ arr, int const n, __global int *__restrict__ tmp_save_slot)
1300
+
__kernel void __attribute__ ((reqd_work_group_size(16, 1, 1))) rotate_v2(__global int const *__restrict__ arr, int const n, __global int *__restrict__ tmp_save_slot)
1301
1301
{
1302
1302
int tmp;
1303
1303
<BLANKLINE>
1304
1304
tmp = arr[16 * gid(0) + lid(0)];
1305
1305
tmp_save_slot[16 * gid(0) + lid(0)] = tmp;
1306
1306
}
1307
1307
<BLANKLINE>
1308
-
__kernel void __attribute__ ((reqd_work_group_size(16, 1, 1))) rotate_v2_0(__global int *__restrict__ arr, int const n, __global int *__restrict__ tmp_save_slot)
1308
+
__kernel void __attribute__ ((reqd_work_group_size(16, 1, 1))) rotate_v2_0(__global int *__restrict__ arr, int const n, __global int const *__restrict__ tmp_save_slot)
0 commit comments