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

[SYCL] Fix self-build compilation after PR #9873 #10018

Merged
merged 2 commits into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 2 additions & 1 deletion .github/workflows/sycl_post_commit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: SYCL Post Commit


on:
push:
pull_request_target:
dm-vodopyanov marked this conversation as resolved.
Show resolved Hide resolved
branches:
- sycl
- sycl-devops-pr/**
Expand Down
2 changes: 2 additions & 0 deletions sycl/plugins/unified_runtime/ur/adapters/cuda/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ urKernelSetArgMemObj(ur_kernel_handle_t hKernel, uint32_t argIndex,

UR_ASSERT(hKernel, UR_RESULT_ERROR_INVALID_NULL_HANDLE);

std::ignore = Properties;

// Below sets kernel arg when zero-sized buffers are handled.
// In such case the corresponding memory is null.
if (hArgValue == nullptr) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,14 +327,14 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(

if (Device->isCCS()) {
struct {
ur_device_partition_property_t Arr[2];
ur_device_partition_t Arr[2];
} PartitionProperties = {
{UR_DEVICE_PARTITION_BY_CSLICE, ur_device_partition_t(0)}};
return ReturnValue(PartitionProperties);
}

struct {
ur_device_partition_property_t Arr[3];
ur_device_partition_t Arr[3];
} PartitionProperties = {
{UR_DEVICE_PARTITION_BY_AFFINITY_DOMAIN,
(ur_device_partition_t)
Expand Down