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

Using the new core type system #903

Merged
merged 13 commits into from
May 4, 2023

Conversation

magnatelee
Copy link
Contributor

@magnatelee magnatelee commented Apr 21, 2023

This PR updates the cuNumeric code to use the new core type system in nv-legate/legate#697. Though this PR updates almost every C++ file in the repository, the majority of changes is just to catch up the changes in type codes (legate::LegateTypeCode => legate::Type::Code).

@magnatelee magnatelee added the category:task PR is a simple task and will not be included in release notes label Apr 21, 2023
Copy link
Contributor

@jjwilke jjwilke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. A few minor nits, but no blockers.

cunumeric/deferred.py Show resolved Hide resolved
cunumeric/runtime.py Outdated Show resolved Hide resolved
cunumeric/runtime.py Outdated Show resolved Hide resolved
cunumeric/runtime.py Outdated Show resolved Hide resolved
src/cunumeric/arg_redop_register.cu Show resolved Hide resolved
@magnatelee magnatelee requested a review from jjwilke May 3, 2023 23:38
Copy link
Contributor

@jjwilke jjwilke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

cunumeric/deferred.py Show resolved Hide resolved
@magnatelee magnatelee merged commit 9b9d5e0 into nv-legate:branch-23.05 May 4, 2023
@magnatelee magnatelee deleted the core-type-system branch May 4, 2023 00:20
@@ -552,7 +552,7 @@ void sample_sort_nd(SortPiece<legate_type_of<CODE>> local_sorted,
/*comm::coll::collAllgather(p_samples + num_samples_l * my_sort_rank,
p_samples,
num_samples_l * sizeof(SegmentSample<VAL>),
comm::coll::CollDataType::CollUint8,
comm::coll::CollDataType::Code::CollUint8,
Copy link
Contributor

@manopapad manopapad May 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overeager search/replace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:task PR is a simple task and will not be included in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants