| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Sorry, something went wrong.
|
/ok to test |
Sorry, something went wrong.
|
/ok to test |
Sorry, something went wrong.
|
/ok to test |
Sorry, something went wrong.
|
/ok to test |
Sorry, something went wrong.
|
/ok to test |
Sorry, something went wrong.
|
/ok to test |
Sorry, something went wrong.
|
/ok to test |
Sorry, something went wrong.
|
/ok to test |
Sorry, something went wrong.
|
I have confirmed with the tool in #1067 that there is no change in the ABI. Unfortunately, the changes in this PR are /not/ tested in CI, given this on all of the tests that use these types. We will need to perform some manual testing. @pytest.mark.skipif(not isSupportedFilesystem(), reason="cuFile handle_register requires ext4 or xfs filesystem") |
Sorry, something went wrong.
|
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Sorry, something went wrong.
|
/ok to test |
Sorry, something went wrong.
| return self._data.read_size_kb_hist | ||
| cdef view.array arr = view.array(shape=(32,), itemsize=sizeof(uint64_t), format="Q", mode="c", allocate_buffer=False) | ||
| arr.data = <char *>(&(self._ptr[0].read_size_kb_hist)) | ||
| return arr |
There was a problem hiding this comment.
Q: Can we wrap it as a numpy array here to avoid breaking?
Sorry, something went wrong.
| return self._data.write_size_kb_hist | ||
| cdef view.array arr = view.array(shape=(32,), itemsize=sizeof(uint64_t), format="Q", mode="c", allocate_buffer=False) | ||
| arr.data = <char *>(&(self._ptr[0].write_size_kb_hist)) | ||
| return arr |
There was a problem hiding this comment.
ditto
Sorry, something went wrong.
|
/ok to test |
Sorry, something went wrong.
|
I have reverted the backward compatibility by returning numpy arrays, rather than Cython arrays, from members that have numeric array types. I tested this again on a machine that doesn't skip the cufile tests and all is passing there. There is still one breaking change here, noted in the release notes, that IMHO is just a real bug -- PerGpuStats was declared as a AUTO_LOWPP_CLASS rather than an AUTO_LOWPP_ARRAY, but it is always used as an array. You can see in the test code the weird backflips that were required to access it as an array that go away if you just declare it as such. Unfortunately, this is required here because I can't make PerGpuStats[0] return a Numpy array as before under the new implementation, but that never really made sense anyway. |
Sorry, something went wrong.
|
/ok to test |
Sorry, something went wrong.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is still somewhat a WIP, but I would like to get more CI.