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][L0] Add memory access hint to piKernelSetArgMemObj #9752

Merged
merged 11 commits into from
Jun 28, 2023

Conversation

KseniyaTikhomirova
Copy link
Contributor

No description provided.

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
@KseniyaTikhomirova KseniyaTikhomirova temporarily deployed to aws June 6, 2023 12:27 — with GitHub Actions Inactive
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
@KseniyaTikhomirova KseniyaTikhomirova marked this pull request as ready for review June 22, 2023 09:34
@KseniyaTikhomirova KseniyaTikhomirova requested review from a team as code owners June 22, 2023 09:34
@KseniyaTikhomirova KseniyaTikhomirova temporarily deployed to aws June 22, 2023 10:05 — with GitHub Actions Inactive
@KseniyaTikhomirova KseniyaTikhomirova temporarily deployed to aws June 22, 2023 10:44 — with GitHub Actions Inactive
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
@KseniyaTikhomirova KseniyaTikhomirova temporarily deployed to aws June 26, 2023 11:24 — with GitHub Actions Inactive
@KseniyaTikhomirova KseniyaTikhomirova temporarily deployed to aws June 26, 2023 12:03 — with GitHub Actions Inactive
Comment on lines 690 to 691
case 0:
break;
Copy link
Contributor

Choose a reason for hiding this comment

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

what is being handled in this case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

redundant code, removed 11aeaec

Comment on lines +1741 to +1743
__SYCL_EXPORT pi_result piextKernelSetArgMemObj(
pi_kernel kernel, pi_uint32 arg_index,
const pi_mem_obj_property *arg_properties, const pi_mem *arg_value);
Copy link
Contributor

@smaslov-intel smaslov-intel Jun 27, 2023

Choose a reason for hiding this comment

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

Please bump the major.minor PI version at the top of this file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done 11aeaec

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.

PI/UR/L0 changes look good

@@ -682,9 +682,29 @@ UR_APIEXPORT ur_result_t UR_APICALL urKernelSetArgMemObj(

ur_mem_handle_t_ *UrMem = ur_cast<ur_mem_handle_t_ *>(ArgValue);

ur_mem_handle_t_::access_mode_t UrAccessMode = ur_mem_handle_t_::read_write;
if (Properties) {
assert(Properties->stype ==
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove this assert. That belongs to the UR loader validation layer.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done 11aeaec

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
@KseniyaTikhomirova KseniyaTikhomirova temporarily deployed to aws June 28, 2023 09:36 — with GitHub Actions Inactive
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
@KseniyaTikhomirova KseniyaTikhomirova temporarily deployed to aws June 28, 2023 11:21 — with GitHub Actions Inactive
@KseniyaTikhomirova KseniyaTikhomirova temporarily deployed to aws June 28, 2023 12:24 — with GitHub Actions Inactive
@againull againull merged commit dddaf7f into intel:sycl Jun 28, 2023
veselypeta pushed a commit to veselypeta/llvm that referenced this pull request Sep 21, 2023
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@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.

4 participants