Skip to content

Examples clean-up#1108

Merged
oleksandr-pavlyk merged 14 commits intomasterfrom
doc-cleanup-pass
Mar 13, 2023
Merged

Examples clean-up#1108
oleksandr-pavlyk merged 14 commits intomasterfrom
doc-cleanup-pass

Conversation

@oleksandr-pavlyk
Copy link
Copy Markdown
Contributor

@oleksandr-pavlyk oleksandr-pavlyk commented Mar 11, 2023

Modified dpctl/README.md to correct factual inaccuracies.

Provided dpctl/examples/README.md, and read-me files to sub-folders.
Revised all cython examples to follow similar layout and building method, and provided test/ folder for each cython test.

Also modified conda-package.yaml workflow that runs and tests examples to reflect changes made in this PR.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • If this PR is a work in progress, are you filing the PR as a draft?

…lready supported

It is support in sycl_buffer example with `queue=None`.

Reworked `usm_memory` example to use `dpctl.tensor.usm_memory` instead of
numpy.ndarray backed up by dpctl.memory.MemoryUSMShared.
Also added `dpctl/tensor/__init__.pxd` so that one can do `cimport dpctl.tensor`.
Used that in `cython/usm_memory` example.
@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.14.2=py310h76be34b_13 ran successfully.
Passed: 36
Failed: 798
Skipped: 280

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Mar 11, 2023

Coverage Status

Coverage: 82.404% (+0.001%) from 82.403% when pulling cc63bba on doc-cleanup-pass into 5bfc097 on master.

@github-actions
Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.14.2=py310h76be34b_14 ran successfully.
Passed: 36
Failed: 798
Skipped: 280

@github-actions
Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.14.2=py310h76be34b_15 ran successfully.
Passed: 35
Failed: 799
Skipped: 280

@github-actions
Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.14.2=py310h76be34b_16 ran successfully.
Passed: 36
Failed: 798
Skipped: 280

@github-actions
Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.14.2=py310h76be34b_17 ran successfully.
Passed: 36
Failed: 798
Skipped: 280

@github-actions
Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.14.2=py310h76be34b_18 ran successfully.
Passed: 36
Failed: 798
Skipped: 280

@oleksandr-pavlyk oleksandr-pavlyk marked this pull request as ready for review March 12, 2023 13:49
@github-actions
Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.14.2=py310h76be34b_19 ran successfully.
Passed: 36
Failed: 798
Skipped: 280

@github-actions
Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.14.2=py310h76be34b_23 ran successfully.
Passed: 46
Failed: 788
Skipped: 280

@oleksandr-pavlyk oleksandr-pavlyk merged commit 51863d4 into master Mar 13, 2023
@oleksandr-pavlyk oleksandr-pavlyk deleted the doc-cleanup-pass branch March 13, 2023 13:53
@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.2=py310h76be34b_28 ran successfully.
Passed: 46
Failed: 788
Skipped: 280

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