Skip to content
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

refactor: remove obsolete cuda_kernels #2876

Merged
merged 4 commits into from
Dec 8, 2023
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE

#define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_getitem_next_at.cpp", line)
#define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_next_at.cpp", line)

#include "awkward/kernels.h"

Expand Down
24 changes: 0 additions & 24 deletions dev/generate-kernel-signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,37 +19,19 @@
"awkward_Identities32_to_Identities64",
"awkward_ListOffsetArray_flatten_offsets",
"awkward_IndexedArray_overlay_mask",
"awkward_IndexedArray_mask",
"awkward_ByteMaskedArray_mask",
"awkward_zero_mask",
"awkward_IndexedArray_fill_count",
"awkward_UnionArray_fillna",
"awkward_localindex",
"awkward_content_reduce_zeroparents_64",
"awkward_ListOffsetArray_reduce_global_startstop_64",
"awkward_IndexedArray_reduce_next_fix_offsets_64",
"awkward_Index_to_Index64",
"awkward_carry_arange",
"awkward_index_carry_nocheck",
"awkward_NumpyArray_contiguous_init",
"awkward_NumpyArray_getitem_next_array_advanced",
"awkward_NumpyArray_getitem_next_at",
"awkward_RegularArray_getitem_next_array_advanced",
"awkward_ByteMaskedArray_toIndexedOptionArray",
"awkward_combinations", # ?
"awkward_IndexedArray_simplify",
"awkward_UnionArray_validity",
"awkward_index_carry",
"awkward_ByteMaskedArray_getitem_carry",
"awkward_IndexedArray_validity",
"awkward_ByteMaskedArray_overlay_mask",
"awkward_NumpyArray_reduce_mask_ByteMaskedArray_64",
"awkward_RegularArray_getitem_carry",
"awkward_NumpyArray_getitem_next_array",
"awkward_RegularArray_localindex",
"awkward_NumpyArray_contiguous_next",
"awkward_NumpyArray_getitem_next_range",
"awkward_NumpyArray_getitem_next_range_advanced",
"awkward_RegularArray_getitem_next_range",
"awkward_RegularArray_getitem_next_range_spreadadvanced",
"awkward_RegularArray_getitem_next_array",
Expand All @@ -58,10 +40,8 @@
"awkward_RegularArray_getitem_jagged_expand",
"awkward_ListArray_getitem_jagged_expand",
"awkward_ListArray_getitem_next_array",
"awkward_NumpyArray_fill_tobool",
"awkward_NumpyArray_reduce_adjust_starts_64",
"awkward_NumpyArray_reduce_adjust_starts_shifts_64",
"awkward_regularize_arrayslice",
"awkward_RegularArray_getitem_next_at",
"awkward_BitMaskedArray_to_IndexedOptionArray",
"awkward_ByteMaskedArray_getitem_nextcarry",
Expand All @@ -73,20 +53,16 @@
"awkward_IndexedArray_flatten_nextcarry",
"awkward_IndexedArray_getitem_nextcarry",
"awkward_IndexedArray_getitem_nextcarry_outindex",
"awkward_IndexedArray_getitem_nextcarry_outindex_mask",
"awkward_IndexedArray_reduce_next_64",
"awkward_IndexedArray_reduce_next_nonlocal_nextshifts_64",
"awkward_IndexedArray_reduce_next_nonlocal_nextshifts_fromshifts_64",
"awkward_IndexedOptionArray_rpad_and_clip_mask_axis1",
"awkward_ListOffsetArray_rpad_and_clip_axis1",
# "awkward_ListOffsetArray_rpad_axis1",
"awkward_MaskedArray_getitem_next_jagged_project",
"awkward_NumpyArray_getitem_boolean_nonzero",
"awkward_UnionArray_project",
"awkward_reduce_argmax",
"awkward_reduce_argmax_bool_64",
"awkward_reduce_argmin",
"awkward_reduce_argmin_bool_64",
"awkward_reduce_count_64",
"awkward_reduce_max",
"awkward_reduce_min",
Expand Down
24 changes: 0 additions & 24 deletions dev/generate-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,37 +533,19 @@ def gencpukerneltests(specdict):
"awkward_Identities32_to_Identities64",
"awkward_ListOffsetArray_flatten_offsets",
"awkward_IndexedArray_overlay_mask",
"awkward_IndexedArray_mask",
"awkward_ByteMaskedArray_mask",
"awkward_zero_mask",
"awkward_IndexedArray_fill_count",
"awkward_UnionArray_fillna",
"awkward_localindex",
"awkward_content_reduce_zeroparents_64",
"awkward_ListOffsetArray_reduce_global_startstop_64",
"awkward_IndexedArray_reduce_next_fix_offsets_64",
"awkward_Index_to_Index64",
"awkward_carry_arange",
"awkward_index_carry_nocheck",
"awkward_NumpyArray_contiguous_init",
"awkward_NumpyArray_getitem_next_array_advanced",
"awkward_NumpyArray_getitem_next_at",
"awkward_RegularArray_getitem_next_array_advanced",
"awkward_ByteMaskedArray_toIndexedOptionArray",
"awkward_combinations", # ?
"awkward_IndexedArray_simplify",
"awkward_UnionArray_validity",
"awkward_index_carry",
"awkward_ByteMaskedArray_getitem_carry",
"awkward_IndexedArray_validity",
"awkward_ByteMaskedArray_overlay_mask",
"awkward_NumpyArray_reduce_mask_ByteMaskedArray_64",
"awkward_RegularArray_getitem_carry",
"awkward_NumpyArray_getitem_next_array",
"awkward_RegularArray_localindex",
"awkward_NumpyArray_contiguous_next",
"awkward_NumpyArray_getitem_next_range",
"awkward_NumpyArray_getitem_next_range_advanced",
"awkward_RegularArray_getitem_next_range",
"awkward_RegularArray_getitem_next_range_spreadadvanced",
"awkward_RegularArray_getitem_next_array",
Expand All @@ -572,10 +554,8 @@ def gencpukerneltests(specdict):
"awkward_RegularArray_getitem_jagged_expand",
"awkward_ListArray_getitem_jagged_expand",
"awkward_ListArray_getitem_next_array",
"awkward_NumpyArray_fill_tobool",
"awkward_NumpyArray_reduce_adjust_starts_64",
"awkward_NumpyArray_reduce_adjust_starts_shifts_64",
"awkward_regularize_arrayslice",
"awkward_RegularArray_getitem_next_at",
"awkward_BitMaskedArray_to_IndexedOptionArray",
"awkward_ByteMaskedArray_getitem_nextcarry",
Expand All @@ -587,20 +567,16 @@ def gencpukerneltests(specdict):
"awkward_IndexedArray_flatten_nextcarry",
"awkward_IndexedArray_getitem_nextcarry",
"awkward_IndexedArray_getitem_nextcarry_outindex",
"awkward_IndexedArray_getitem_nextcarry_outindex_mask",
"awkward_IndexedArray_reduce_next_64",
"awkward_IndexedArray_reduce_next_nonlocal_nextshifts_64",
"awkward_IndexedArray_reduce_next_nonlocal_nextshifts_fromshifts_64",
"awkward_IndexedOptionArray_rpad_and_clip_mask_axis1",
"awkward_ListOffsetArray_rpad_and_clip_axis1",
# "awkward_ListOffsetArray_rpad_axis1",
"awkward_MaskedArray_getitem_next_jagged_project",
"awkward_NumpyArray_getitem_boolean_nonzero",
"awkward_UnionArray_project",
"awkward_reduce_argmax",
"awkward_reduce_argmax_bool_64",
"awkward_reduce_argmin",
"awkward_reduce_argmin_bool_64",
"awkward_reduce_count_64",
"awkward_reduce_max",
"awkward_reduce_min",
Expand Down
4 changes: 0 additions & 4 deletions src/awkward/_connect/cuda/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,12 @@ def fetch_template_specializations(kernel_dict):
"awkward_IndexedArray_flatten_nextcarry",
"awkward_IndexedArray_getitem_nextcarry",
"awkward_IndexedArray_getitem_nextcarry_outindex",
"awkward_IndexedArray_getitem_nextcarry_outindex_mask",
"awkward_ListArray_compact_offsets",
"awkward_IndexedArray_reduce_next_64",
"awkward_IndexedArray_reduce_next_nonlocal_nextshifts_64",
"awkward_IndexedArray_reduce_next_nonlocal_nextshifts_fromshifts_64",
"awkward_IndexedOptionArray_rpad_and_clip_mask_axis1",
"awkward_MaskedArray_getitem_next_jagged_project",
"awkward_NumpyArray_getitem_boolean_nonzero",
"awkward_UnionArray_project",
"awkward_reduce_count_64",
"awkward_reduce_sum",
Expand All @@ -94,9 +92,7 @@ def fetch_template_specializations(kernel_dict):
"awkward_reduce_sum_bool",
"awkward_reduce_prod_bool",
"awkward_reduce_argmax",
"awkward_reduce_argmax_bool_64",
"awkward_reduce_argmin",
"awkward_reduce_argmin_bool_64",
"awkward_reduce_countnonzero",
"awkward_reduce_max",
"awkward_reduce_min",
Expand Down

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions src/awkward/_connect/cuda/cuda_kernels/awkward_Index_to_Index64.cu

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading