Skip to content

Merge changes for nightly tests in CI #1209

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

Merged
merged 40 commits into from
Oct 20, 2022
Merged

Merge changes for nightly tests in CI #1209

merged 40 commits into from
Oct 20, 2022

Conversation

antonwolfy
Copy link
Contributor

Merge latest changes from master for including them into nightly tests in CI.
The commit includes a fix of issue reporting in issue #1203

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to 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?

oleksandr-pavlyk and others added 30 commits August 11, 2022 10:27
…pter

The reason this crashed with CPU device and gave incorrect results on
Windows was deeper.

   1. Adapter call allocated USM-shared buffer and copies data into it
   2. Kernel is submitted to work on USM-shared pointer
   3. dpnp_take_c returns kernel submission even
   4. Adapter class goes out of scope and frees USM allocation
      without making sure that the kernel that works on it has completed
      its execution
   5. If kernel execution was in progress we got a crash on CPU, or
      incorrect result on GPU

      If kernel execution was complete it worked as expected.

This change fixes the problem because it removes creation of unprotected
USM-shared temporary.
…t depend

The deallocation routine simply calls sycl::event::wait on the stored vector.
Also applied DPCTLEvent_Delete in legacy interfaces to avoid memory leak.
Add a null-terminated symbol at the end of char array to avoid "Improper Null Termination" issue reported by Checkmarx scan.
Get rid of "Improper Null Termination" issue
* Skip for two more tests till waiting fix

tests/third_party/cupy/statistics_tests/test_order.py::TestOrder::test_ptp_all_nan
tests/third_party/cupy/statistics_tests/test_order.py::TestOrder::test_ptp_nan

Need to skip them because CI does not work due to this.

* The same tests skip for gpu
* dpnp_take failed on Windows due to memory corruption

* Add more tests

* Integer indexes types with different types of input data

* Add trailing empty line to .gitignore
Fix typo

Relax a strict pinning for numpy & cmake

Update run command for conda build on Win

Fix declaring DPLROOT env

Fix DPLROOT source

Fix DPLROOT for Win

Add missing double quotes

Try conda-incubator for Linux

Setup conda-incubator for Linux

Update caching

Exclude python 3.8

Strickly pin on 3.8.13

Change channel order

Fix artifcat uploading

Replace to single quotes

Add missing backslash

Corect backslash
attempt to fix upload steps of the workflow on Linux
* Reorder channels in conda-build

* Remove conda-build script for Linux
* [SAT-5366] setuptools 63.4.1 breaks build for Windows

* Add TODO note as suggested in review comment
Add extra information on how to build dpnp from source.
* Fix import dpnp on Win & python 3.10

* PATH is used by python till 3.10

* Update dpnp/__init__.py

Co-authored-by: Oleksandr Pavlyk <[email protected]>

* Update dpnp/__init__.py

Co-authored-by: Oleksandr Pavlyk <[email protected]>

* Update dpnp/__init__.py

Co-authored-by: Oleksandr Pavlyk <[email protected]>

* Update dpnp/__init__.py

Co-authored-by: Oleksandr Pavlyk <[email protected]>

* Apply review comments

Co-authored-by: Oleksandr Pavlyk <[email protected]>
antonwolfy and others added 10 commits October 6, 2022 17:39
* Fix support of compute follows data in dpnp.erf

* Include tests for dpnp.erf in validation with github action
* Fix github action for building docs

* Get rid of pinning for cmake
* Align normalize_queue_device call with CFD in dpnp

* Update dpnp/dpnp_iface.py

Co-authored-by: Oleksandr Pavlyk <[email protected]>

* Update dpnp/dpnp_iface.py

Co-authored-by: Oleksandr Pavlyk <[email protected]>

Co-authored-by: Oleksandr Pavlyk <[email protected]>
* update numpy restriction by adding numpy 1.22

* Update conda-recipe/meta.yaml

Also exclude alpha/beta builds of 1.23 sources

Co-authored-by: Oleksandr Pavlyk <[email protected]>
* Get rid of env var stating dep on dpctl.tensor

* Apply review comments
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.

5 participants