Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

@aelovikov-intel aelovikov-intel commented Aug 30, 2024

As discussed in #14095 (comment).

@aelovikov-intel
Copy link
Contributor Author

Windows task failed at
image
, unrelated.

@aelovikov-intel
Copy link
Contributor Author

aelovikov-intel commented Aug 30, 2024

image

I haven't done anything like that ("removed request"), @uditagarwal97 , please continue with the review :)

}

int *d_sum = malloc_shared<int>(1, Queues[0]);
int *d_sum = malloc_device<int>(1, Queues[0]);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we first check if malloc_device is even supported on the device? Like:

if (dev.get_info<info::device::usm_device_allocations>())
...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That would be a separate change - we're already using it on the next line.

Copy link
Contributor

Choose a reason for hiding this comment

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

@JackAKirk Please update this test (and other P2P tests, if applicable) to also check if device allocations are supported on the device(s).

@aelovikov-intel aelovikov-intel merged commit d6a851e into intel:sycl Sep 3, 2024
@aelovikov-intel aelovikov-intel deleted the p2p-device-usm branch September 3, 2024 15:18
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.

3 participants