Skip to content

Corrected behavior for DPCTL_ENABLE_L0_PROGRAM_CREATION=OFF#1039

Merged
oleksandr-pavlyk merged 1 commit intomasterfrom
correct-preprocessor-exclusion-logic
Jan 22, 2023
Merged

Corrected behavior for DPCTL_ENABLE_L0_PROGRAM_CREATION=OFF#1039
oleksandr-pavlyk merged 1 commit intomasterfrom
correct-preprocessor-exclusion-logic

Conversation

@oleksandr-pavlyk
Copy link
Copy Markdown
Contributor

Corrected behavior for -DDPCTL_ENABLE_L0_PROGRAM_CREATION=OFF

Shortened preprocessor variable name from
DPCTL_ENABLE_L0_PROGRAM_CREATION to DPCTL_ENABLE_L0_PROGRAM.

Placed additional uses of L0-specific functions it preprocessor conditioned sections.

  • Have you provided a meaningful PR description?
  • Have you tested your changes locally for CPU and GPU devices?

Tested with both python scripts/build_locally.py and python scripts/build_locally.py --no-level-zero.

Shortened preprocessor variable name from
DPCTL_ENABLE_L0_PROGRAM_CREATION to DPCTL_ENABLE_L0_PROGRAM

Placed additional uses of L0-specific functions it preprocessor
conditioned sections.
@github-actions
Copy link
Copy Markdown

@coveralls
Copy link
Copy Markdown
Collaborator

Coverage Status

Coverage: ?%. Remained the same when pulling f404998 on correct-preprocessor-exclusion-logic into 83ad22d on master.

@coveralls
Copy link
Copy Markdown
Collaborator

Coverage Status

Coverage: 84.102% (+1.9%) from 82.23% when pulling f404998 on correct-preprocessor-exclusion-logic into 83ad22d on master.

@github-actions
Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.14.1dev1=py310h76be34b_22 ran successfully.
Passed: 33
Failed: 801
Skipped: 280

@oleksandr-pavlyk oleksandr-pavlyk merged commit 7071b35 into master Jan 22, 2023
@oleksandr-pavlyk oleksandr-pavlyk deleted the correct-preprocessor-exclusion-logic branch January 22, 2023 17:52
@github-actions
Copy link
Copy Markdown

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

@github-actions
Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.14.1dev1=py310h76be34b_24 ran successfully.
Passed: 33
Failed: 801
Skipped: 280

oleksandr-pavlyk added a commit that referenced this pull request Jan 22, 2023
Changes from gh-1039 inadvertently broke L0 program creation
support, resulting in failure of test

test_sycl_program.py::test_create_program_from_spirv_l0

This PR fixes it, while still resolving issues raised in gh-1039.
oleksandr-pavlyk added a commit that referenced this pull request Jan 22, 2023
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