Skip to content

Conversation

@steffenlarsen
Copy link
Contributor

This commit fixes the sycl::property::buffer::mem_channel handling when creating a buffer with the property. Additionally it fixes the associated device info query and aspect check.

This commit fixes the sycl::property::buffer::mem_channel handling when
creating a buffer with the property. Additionally it fixes the
associated device info query and aspect check.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Copy link
Contributor

@sarnex sarnex left a comment

Choose a reason for hiding this comment

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

esimd lgtm

if (ParamName == PI_EXT_INTEL_DEVICE_INFO_MEM_CHANNEL_SUPPORT) {
ReturnHelper ReturnValue(ParamValueSize, ParamValue, ParamValueSizeRet);
return ReturnValue(pi_bool{false});
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@smaslov-intel - I did a similar work-around in #8954. Is there a better way of doing it?

Copy link
Contributor

Choose a reason for hiding this comment

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

@steffenlarsen : Yes, let's not add new stuff here.
Please temporary add UR extension here:

// TODO: promote all of the below extensions to the Unified Runtime

And note @kbenzie to promote it into UR.
The the handling would naturally go into https://github.com/intel/llvm/blob/sycl/sycl/plugins/unified_runtime/ur/adapters/level_zero/ur_level_zero.cpp

Copy link
Contributor

@kbenzie kbenzie Apr 27, 2023

Choose a reason for hiding this comment

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

I was not aware of this list of constants until now. Do lines 23-57 encapsulate these UR_EXT_* symbols or are there additional ones?

Copy link
Contributor

Choose a reason for hiding this comment

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

Found oneapi-src/unified-runtime#374 which seems to cover theses, added mention of this.

Copy link
Contributor

@npmiller npmiller left a comment

Choose a reason for hiding this comment

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

cuda and hip LGTM

@steffenlarsen steffenlarsen temporarily deployed to aws April 25, 2023 14:29 — with GitHub Actions Inactive
Larsen, Steffen added 2 commits April 25, 2023 08:11
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen temporarily deployed to aws April 25, 2023 16:32 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws April 25, 2023 21:27 — with GitHub Actions Inactive
@aelovikov-intel
Copy link
Contributor

aelovikov-intel commented Apr 26, 2023

SYCL :: Regression/same_unnamed_kernels.cpp - #9174, already disabled in #9207.

Larsen, Steffen added 2 commits April 27, 2023 02:33
@steffenlarsen steffenlarsen temporarily deployed to aws April 27, 2023 10:13 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws April 27, 2023 11:38 — with GitHub Actions Inactive
Copy link
Contributor

@smaslov-intel smaslov-intel left a comment

Choose a reason for hiding this comment

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

LGTM

@steffenlarsen steffenlarsen merged commit 9093431 into intel:sycl Apr 27, 2023
jandres742 pushed a commit to jandres742/llvm that referenced this pull request May 3, 2023
intel#9203

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
jandres742 pushed a commit to jandres742/llvm that referenced this pull request May 16, 2023
intel#9203

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
jandres742 pushed a commit to jandres742/llvm that referenced this pull request May 23, 2023
intel#9203

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
jandres742 pushed a commit to jandres742/llvm that referenced this pull request May 26, 2023
intel#9203

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
veselypeta pushed a commit to veselypeta/llvm that referenced this pull request Sep 21, 2023
This commit fixes the sycl::property::buffer::mem_channel handling when
creating a buffer with the property. Additionally it fixes the
associated device info query and aspect check.

---------

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
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.

6 participants