Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Remove string type from record in test_record_dtype
The string field (`d`) isn't actually read / written in any test here
(probably because that would have generated some code that segfaulted
NVVM 3.4) but is used to exercise alignment of arrays of the record.
Changing the type here to a `uint8` should fulfil this purpose, but
avoid triggering the legalization check with NVVM 3.4
  • Loading branch information
gmarkall committed Nov 19, 2021
commit b493f48b049da2de87b3a0c8e94cf647540cf87a
2 changes: 1 addition & 1 deletion numba/cuda/tests/cudapy/test_record_dtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def record_read_2d_array(r, a):
('a', np.float64),
('b', np.int32),
('c', np.complex64),
('d', (np.str_, 5))
('d', (np.uint8, 5))
],
align=True
)
Expand Down