forked from scikit-hep/awkward
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: debugging slicing on gpu #18
Open
ianna
wants to merge
2
commits into
master
Choose a base branch
from
ianna/fix_slicing_on_gpu
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tests-cuda/test_3140_cuda_slicing.py::test_simple_slice_cpu content.py: Calling function: __getitem__
content.py: Calling function: _getitem
_slicing.py: Calling function: normalize_integer_like
_slicing.py: Function normalize_integer_like returned 0
listoffsetarray.py: Calling function: _getitem_at
listoffsetarray.py: Calling function: _getitem_range
_slicing.py: Calling function: normalize_slice
_slicing.py: Function normalize_slice returned slice(np.int64(0), np.int64(4), None)
listoffsetArray.py: Function _getitem_range returned <ListOffsetArray len='3'>
<offsets><Index dtype='int64' len='4'>
[0 3 4 6]
</Index></offsets>
<content><NumpyArray dtype='int64' len='6'>[1 2 3 0 4 5]</NumpyArray></content>
</ListOffsetArray>
listoffsetArray.py: Function _getitem_at returned <ListOffsetArray len='3'>
<offsets><Index dtype='int64' len='4'>
[0 3 4 6]
</Index></offsets>
<content><NumpyArray dtype='int64' len='6'>[1 2 3 0 4 5]</NumpyArray></content>
</ListOffsetArray>
content.py: Function _getitem returned <ListOffsetArray len='3'>
<offsets><Index dtype='int64' len='4'>
[0 3 4 6]
</Index></offsets>
<content><NumpyArray dtype='int64' len='6'>[1 2 3 0 4 5]</NumpyArray></content>
</ListOffsetArray>
content.py: Function __getitem__ returned <ListOffsetArray len='3'>
<offsets><Index dtype='int64' len='4'>
[0 3 4 6]
</Index></offsets>
<content><NumpyArray dtype='int64' len='6'>[1 2 3 0 4 5]</NumpyArray></content>
</ListOffsetArray>
content.py: Calling function: __getitem__
content.py: Calling function: _getitem
_slicing.py: Calling function: normalise_items
_slicing.py: Calling function: normalise_item
_slicing.py: Calling function: normalize_slice
_slicing.py: Function normalize_slice returned slice(None, None, None)
_slicing.py: Function normalise_item returned slice(None, None, None)
_slicing.py: Calling function: normalise_item
_slicing.py: Calling function: normalize_integer_like
_slicing.py: Function normalize_integer_like returned 0
_slicing.py: Function normalise_item returned 0
_slicing.py: Function normalise_items returned [slice(None, None, None), 0]
_slicing.py: Calling function: prepare_advanced_indexing
_slicing.py: Function prepare_advanced_indexing returned (slice(None, None, None), array(0))
_slicing.py: Calling function: head_tail
_slicing.py: Function head_tail returned (array(0), ())
listoffsetarray.py: Calling function: _carry
_slicing.py: Calling function: normalize_slice
_slicing.py: Function normalize_slice returned slice(None, -1, None)
_slicing.py: Calling function: normalize_slice
_slicing.py: Function normalize_slice returned slice(1, None, None)
listoffsetArray.py: Function _carry returned <ListArray len='3'>
<starts><Index dtype='int64' len='3'>
[0 3 4]
</Index></starts>
<stops><Index dtype='int64' len='3'>
[3 4 6]
</Index></stops>
<content><NumpyArray dtype='int64' len='6'>[1 2 3 0 4 5]</NumpyArray></content>
</ListArray>
listarray.py: Calling function: _getitem_next
_slicing.py: Calling function: head_tail
_slicing.py: Function head_tail returned (awkward._slicing.NO_HEAD, ())
numpyarray.py: Calling function: _carry
numpyarray.py: Function _carry returned <NumpyArray dtype='int64' len='3'>[1 0 4]</NumpyArray>
numpyarray.py: Calling function: _getitem_next
numpyarray.py: Function _getitem_next returned <NumpyArray dtype='int64' len='3'>[1 0 4]</NumpyArray>
listarray.py: Function _getitem_next returned <NumpyArray dtype='int64' len='3'>[1 0 4]</NumpyArray>
numpyarray.py: Calling function: _getitem_range
numpyarray.py: Function _getitem_range returned <NumpyArray dtype='int64' len='3'>[1 0 4]</NumpyArray>
content.py: Function _getitem returned <NumpyArray dtype='int64' len='3'>[1 0 4]</NumpyArray>
content.py: Function __getitem__ returned <NumpyArray dtype='int64' len='3'>[1 0 4]</NumpyArray>
PASSED tests-cuda/test_3140_cuda_slicing.py::test_simple_slice_gpu content.py: Calling function: __getitem__
content.py: Calling function: _getitem
_slicing.py: Calling function: normalize_integer_like
_slicing.py: Function normalize_integer_like returned 0
listoffsetarray.py: Calling function: _getitem_at
listoffsetarray.py: Calling function: _getitem_range
_slicing.py: Calling function: normalize_slice
_slicing.py: Function normalize_slice returned slice(np.int64(0), np.int64(4), None)
listoffsetArray.py: Function _getitem_range returned <ListOffsetArray len='3'>
<offsets><Index dtype='int64' len='4'>
[0 3 4 6]
</Index></offsets>
<content><NumpyArray dtype='int64' len='6'>[1 2 3 0 4 5]</NumpyArray></content>
</ListOffsetArray>
listoffsetArray.py: Function _getitem_at returned <ListOffsetArray len='3'>
<offsets><Index dtype='int64' len='4'>
[0 3 4 6]
</Index></offsets>
<content><NumpyArray dtype='int64' len='6'>[1 2 3 0 4 5]</NumpyArray></content>
</ListOffsetArray>
content.py: Function _getitem returned <ListOffsetArray len='3'>
<offsets><Index dtype='int64' len='4'>
[0 3 4 6]
</Index></offsets>
<content><NumpyArray dtype='int64' len='6'>[1 2 3 0 4 5]</NumpyArray></content>
</ListOffsetArray>
content.py: Function __getitem__ returned <ListOffsetArray len='3'>
<offsets><Index dtype='int64' len='4'>
[0 3 4 6]
</Index></offsets>
<content><NumpyArray dtype='int64' len='6'>[1 2 3 0 4 5]</NumpyArray></content>
</ListOffsetArray>
listoffsetarray.py: Calling function: _is_getitem_at_placeholder
listoffsetArray.py: Function _is_getitem_at_placeholder returned False
listoffsetarray.py: Calling function: _getitem_at
numpyarray.py: Calling function: _getitem_range
numpyarray.py: Function _getitem_range returned <NumpyArray dtype='int64' len='3'>[1 2 3]</NumpyArray>
listoffsetArray.py: Function _getitem_at returned <NumpyArray dtype='int64' len='3'>[1 2 3]</NumpyArray>
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 1
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 3
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 2
listoffsetarray.py: Calling function: _is_getitem_at_placeholder
listoffsetArray.py: Function _is_getitem_at_placeholder returned False
listoffsetarray.py: Calling function: _getitem_at
numpyarray.py: Calling function: _getitem_range
numpyarray.py: Function _getitem_range returned <NumpyArray dtype='int64' len='2'>[4 5]</NumpyArray>
listoffsetArray.py: Function _getitem_at returned <NumpyArray dtype='int64' len='2'>[4 5]</NumpyArray>
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 4
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 5
listoffsetarray.py: Calling function: _is_getitem_at_placeholder
listoffsetArray.py: Function _is_getitem_at_placeholder returned False
listoffsetarray.py: Calling function: _getitem_at
numpyarray.py: Calling function: _getitem_range
numpyarray.py: Function _getitem_range returned <NumpyArray dtype='int64' len='1'>[0]</NumpyArray>
listoffsetArray.py: Function _getitem_at returned <NumpyArray dtype='int64' len='1'>[0]</NumpyArray>
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 0
content.py: Calling function: __getitem__
content.py: Calling function: _getitem
_slicing.py: Calling function: normalise_items
_slicing.py: Calling function: normalise_item
_slicing.py: Calling function: normalize_slice
_slicing.py: Function normalize_slice returned slice(None, None, None)
_slicing.py: Function normalise_item returned slice(None, None, None)
_slicing.py: Calling function: normalise_item
_slicing.py: Calling function: normalize_integer_like
_slicing.py: Function normalize_integer_like returned 0
_slicing.py: Function normalise_item returned 0
_slicing.py: Function normalise_items returned [slice(None, None, None), 0]
_slicing.py: Calling function: prepare_advanced_indexing
_slicing.py: Function prepare_advanced_indexing returned (slice(None, None, None), array(0))
_slicing.py: Calling function: head_tail
_slicing.py: Function head_tail returned (array(0), ())
listoffsetarray.py: Calling function: _carry
_slicing.py: Calling function: normalize_slice
_slicing.py: Function normalize_slice returned slice(None, -1, None)
_slicing.py: Calling function: normalize_slice
_slicing.py: Function normalize_slice returned slice(1, None, None)
listoffsetArray.py: Function _carry returned <ListArray len='3'>
<starts><Index dtype='int64' len='3'>
[0 3 4]
</Index></starts>
<stops><Index dtype='int64' len='3'>
[3 4 6]
</Index></stops>
<content><NumpyArray dtype='int64' len='6'>[1 2 3 0 4 5]</NumpyArray></content>
</ListArray>
listarray.py: Calling function: _getitem_next
_slicing.py: Calling function: head_tail
_slicing.py: Function head_tail returned (awkward._slicing.NO_HEAD, ())
numpyarray.py: Calling function: _carry
numpyarray.py: Function _carry returned <NumpyArray dtype='int64' len='3'>[4 2 3]</NumpyArray>
numpyarray.py: Calling function: _getitem_next
numpyarray.py: Function _getitem_next returned <NumpyArray dtype='int64' len='3'>[4 2 3]</NumpyArray>
listarray.py: Function _getitem_next returned <NumpyArray dtype='int64' len='3'>[4 2 3]</NumpyArray>
numpyarray.py: Calling function: _getitem_range
numpyarray.py: Function _getitem_range returned <NumpyArray dtype='int64' len='3'>[4 2 3]</NumpyArray>
content.py: Function _getitem returned <NumpyArray dtype='int64' len='3'>[4 2 3]</NumpyArray>
content.py: Function __getitem__ returned <NumpyArray dtype='int64' len='3'>[4 2 3]</NumpyArray>
listoffsetarray.py: Calling function: _is_getitem_at_placeholder
listoffsetArray.py: Function _is_getitem_at_placeholder returned False
listoffsetarray.py: Calling function: _getitem_at
numpyarray.py: Calling function: _getitem_range
numpyarray.py: Function _getitem_range returned <NumpyArray dtype='int64' len='3'>[1 2 3]</NumpyArray>
listoffsetArray.py: Function _getitem_at returned <NumpyArray dtype='int64' len='3'>[1 2 3]</NumpyArray>
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 1
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 3
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 2
listoffsetarray.py: Calling function: _is_getitem_at_placeholder
listoffsetArray.py: Function _is_getitem_at_placeholder returned False
listoffsetarray.py: Calling function: _getitem_at
numpyarray.py: Calling function: _getitem_range
numpyarray.py: Function _getitem_range returned <NumpyArray dtype='int64' len='2'>[4 5]</NumpyArray>
listoffsetArray.py: Function _getitem_at returned <NumpyArray dtype='int64' len='2'>[4 5]</NumpyArray>
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 4
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 5
listoffsetarray.py: Calling function: _is_getitem_at_placeholder
listoffsetArray.py: Function _is_getitem_at_placeholder returned False
listoffsetarray.py: Calling function: _getitem_at
numpyarray.py: Calling function: _getitem_range
numpyarray.py: Function _getitem_range returned <NumpyArray dtype='int64' len='1'>[0]</NumpyArray>
listoffsetArray.py: Function _getitem_at returned <NumpyArray dtype='int64' len='1'>[0]</NumpyArray>
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 0
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 4
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 3
numpyarray.py: Calling function: _is_getitem_at_placeholder
numpyarray.py: Function _is_getitem_at_placeholder returned False
numpyarray.py: Calling function: _getitem_at
numpyarray.py: Function _getitem_at returned 2
FAILED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.