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

Realm gpu #51

Open
wants to merge 5 commits into
base: cuda
Choose a base branch
from
Open

Realm gpu #51

wants to merge 5 commits into from

Conversation

dycz0fx
Copy link
Contributor

@dycz0fx dycz0fx commented Jul 9, 2020

No description provided.

rt.init(&argc, &argv);

rt.register_task(TOP_LEVEL_TASK, top_level_task);
rt.register_task(SHARD_TASK, shard_task);
Copy link
Collaborator

Choose a reason for hiding this comment

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

It is better to use Processor::register_task_by_kind(Processor::XXX,...) to register non-top-level tasks.

Processor p = Processor::NO_PROC;
{
Machine::ProcessorQuery query(Machine::get_machine());
query.only_kind(Processor::TOC_PROC);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do not use TOC_PROC to launch top level task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants