• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IntelPython / dpctl / 9057328542
86%

Build:
DEFAULT BRANCH: master
Ran 13 May 2024 05:16AM UTC
Jobs 1
Files 76
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2024 04:40AM UTC coverage: 87.948% (+0.06%) from 87.892%
9057328542

push

github

web-flow
Update dlpack to v1.0rc (#1667)

* Implements DLPack changes necessitated by memory object work

Use `ary_base` rather than `usm_ary` as manager_ctx in
     DLManagedTensor struct.

Tests for DLPack use fixture to provide all devices to take advantage
of caching.

* `usm_ndarray` constructor now honors the writable flag when passed a read-only array as `buffer` argument

* Adds support for DLPack v1.0

* Uses `dlpack.h` as per DLPack v1.0 rc
* Implements `device` and `copy` keywords into `__dlpack__` and `from_dlpack`
* Implements `max_version` argument into `__dlpack__`
* Adds `DLDeviceType` enumerator to `_usmarray.pyx` for representing device types as enumerators
* Reimplements `dpt._dlpack.get_build_dlpack_version` to return a tuple of the major version and the minor version

* Adds check for major version of versioned dlpack tensor to `from_dlpack_versioned_capsule`

Also adjusts some error messages in _dlpack.pyx

* Add missing device_type enumerators from `dlpack.h`

* usm_ary -> ary_base in `to_dlpack_versioned_capsule`

* Changes to exception messages throughout _dlpack.pyx

* Versioned DLpack tensor deleter and owner tweaked

These tweaks are based on similar changes made for the managed tensor during memory work

* Updates `dpctl/tensor/include/dlpack/README.md`

DLPack version updated and new SHA for `dlpack.h` added

* Adds check that `max_version` is a 2-tuple to `__dlpack__`

* Add more dlpack tests (#1670)

* Fixture all_root_devices is to keep only 2 devices from each platform

This is done to speed-up test suite execution on multi-GPU system,
like Aurora.

* Add tests for legacy/versions capsule import-export

* Expand tests more to improve coverage

Use F-contiguous array to both legacy and versioned capsule.
Add tests for read-only array and for use of copy=True keyword
for __dlpack__ call

* Test the writable flag of a usm_ndarray from read-only DLPack capsule

Also adds a tes... (continued)

3247 of 3738 branches covered (86.86%)

Branch coverage included in aggregate %.

285 of 324 new or added lines in 2 files covered. (87.96%)

11020 of 12484 relevant lines covered (88.27%)

8277.09 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.32
0.58% dpctl/tensor/_usmarray.pyx
38
84.21
3.9% dpctl/tensor/_dlpack.pyx
Jobs
ID Job ID Ran Files Coverage
1 9057328542.1 13 May 2024 05:16AM UTC 100
79.76
GitHub Action Run
Source Files on build 9057328542
  • Tree
  • List 76
  • Changed 24
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 8b42313b on github
  • Prev Build on master (#9033691653)
  • Next Build on master (#9069403062)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc