CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
38 lines
1.5 KiB
C
38 lines
1.5 KiB
C
#ifndef ISL_REORDERING_H
|
|
#define ISL_REORDERING_H
|
|
|
|
#include <isl/space.h>
|
|
|
|
/* "pos" has "src_len" entries and maps original dimensions to new dimensions.
|
|
* The final space is given by "space".
|
|
* The number of dimensions (i.e., the range of values) in the result
|
|
* may be larger than the number of dimensions in the input.
|
|
* In particular, the possible values of the entries in "pos" ranges from 0 to
|
|
* to "dst_len" - 1, where "dst_len" is equal to the total dimension of "space",
|
|
* unless isl_reordering_extend has been called.
|
|
*/
|
|
struct isl_reordering {
|
|
int ref;
|
|
isl_space *space;
|
|
unsigned src_len;
|
|
unsigned dst_len;
|
|
int pos[1];
|
|
};
|
|
typedef struct isl_reordering isl_reordering;
|
|
|
|
isl_ctx *isl_reordering_get_ctx(__isl_keep isl_reordering *r);
|
|
__isl_keep isl_space *isl_reordering_peek_space(__isl_keep isl_reordering *r);
|
|
__isl_give isl_space *isl_reordering_get_space(__isl_keep isl_reordering *r);
|
|
__isl_give isl_reordering *isl_parameter_alignment_reordering(
|
|
__isl_keep isl_space *alignee, __isl_keep isl_space *aligner);
|
|
__isl_give isl_reordering *isl_reordering_unbind_params_insert_domain(
|
|
__isl_keep isl_space *space, __isl_keep isl_multi_id *tuple);
|
|
__isl_give isl_reordering *isl_reordering_copy(__isl_keep isl_reordering *exp);
|
|
__isl_null isl_reordering *isl_reordering_free(__isl_take isl_reordering *exp);
|
|
__isl_give isl_reordering *isl_reordering_extend_space(
|
|
__isl_take isl_reordering *exp, __isl_take isl_space *space);
|
|
__isl_give isl_reordering *isl_reordering_extend(__isl_take isl_reordering *exp,
|
|
unsigned extra);
|
|
|
|
#endif
|