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

IntelPython / dpctl / 9057328542 / 1
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 13 May 2024 05:16AM UTC
Files 100
Run time 2s
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: 79.759% (+0.2%) from 79.602%
9057328542.1

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)

3680 of 4820 branches covered (76.35%)

Branch coverage included in aggregate %.

12870 of 15930 relevant lines covered (80.79%)

6486.58 hits per line

Source Files on job 9057328542.1
  • Tree
  • List 0
  • Changed 24
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 9057328542
  • 8b42313b on github
  • Prev Job for on master (#9033691653.1)
  • Next Job for on master (#9069403062.1)
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

© 2026 Coveralls, Inc