IntelPython / dpnp

Data Parallel Extension for NumPy
BSD 2-Clause "Simplified" License
94 stars 21 forks source link

Preparation to reuse future common dpctl f/w in functions from `vm` extension #1868

Closed antonwolfy closed 1 month ago

antonwolfy commented 1 month ago

The PR makes implementation changes in vm extension to further reuse of dpctl tensor f/w around py_unary_ufunc and py_binary_ufunc functions. Where the new added files under dpnp/backend/extensions/elementwise_functions folder should be replaced by proper dpctl tensor headers. The same f/w can be later reused while adding implementation of elementwise functions which are not available in dpctl.

Also the PR splits each function to separate dedicated source and header files instead of single big source file.

github-actions[bot] commented 1 month ago

View rendered docs @ https://intelpython.github.io/dpnp/index.html