This repository was archived by the owner on Jan 25, 2023. It is now read-only.
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
numba-dppy extension #76
Closed
Description
Reorganize code base and initial version of numba-dppy extension
- Move the
numba.dppl
package to its own repository (i.e.numba-dppy
) - All core Numba changes to be outlined as patches needed to build Numba with numba-dppy
- All patches need to be analyzed if they can be refactored or converted into plugins
PRs for cleaning unintended changes (make branch pydppl
as close as possible to release0.51
branch):
- Revert whitespaces to release0.51 #84 @reazulhoque
- Remove changes to CPUDispatcher #90 @reazulhoque @1e-to closes Importing
cpu_dispatcher
modifies global state #89 - Remove unused files #108 @reazulhoque
- Remove _remove_unneeded_phis() #86 @Hardcode84 @reazulhoque
- Remove unused var openclliteflags from setup.py #88 @reazulhoque
- Removed unintended changes from core/base.py #85 @DrTodd13
- Patch for codegen debugging #104 @DrTodd13 @reazulhoque - reviewed - most debug code to remove, 2 possible upstream PRs (1 as minimum).
- Patch for disable emit_environment_object() for dppl context #100 @reazulhoque @diptorupd - reviewed - need to be tested
- Remove unary_sqrt_extern() used for sqrt_impl #87 @DrTodd13 @reazulhoque - reviewed - need to test and remove
- Extending typeof() #101 @reazulhoque - reviewed - need investigation and could be removed after tests
PRs with patches (after refactoring it could be proposed to upstream, it is for starting discussion about this changes):
- Patch for with context #96 @AlexanderKalistratov @1e-to
- Use TargetDispatcher from numba_dppy #118 @PokhodenkoSA - update for moving to
numba-dppy
- Add support for dispatcher retargeting using with-context numba/numba#6870 (or Support changing dispatcher options via a with context numba/numba#6770)
- Use Numba dispatcher stack for implementing device context numba-dpex#278
- Changes to the dispacther to support dispacthing based on dpctl device_context numba-dpex#271 - update numba-dppy to new solution
- Patch for support numba-dppy
with device_context
numba/numba#6899
- Use TargetDispatcher from numba_dppy #118 @PokhodenkoSA - update for moving to
- Patch for lowering #98 @reazulhoque @AlexanderKalistratov @DrTodd13 - reviewed - redesign and upstream
- Patch for change numpy functions mapping #99 @reazulhoque - reviewed - redesign and upstream - 2 separate changes
- Patch for addrspace #92 @DrTodd13 @reazulhoque - reviewed - discussion and upstream
- Initial support for Numpy subclasses (for dparray) - common branch on top of patched #139 (Initial support for Numpy subclasses (for dparray) #116) @DrTodd13 @PokhodenkoSA
- Refactoring ParforDiagnostics #135 (f.k.a. Refactoring ParforDiagnostics #130) @1e-to @PokhodenkoSA - could be upstreamed
All upstream patches has label https://github.com/numba/numba/labels/dpPy.
PRs which should me moved to numba-dppy
package:
- Move tests for numba-dppy #102 @PokhodenkoSA - reviewed with @reazulhoque
- Move conda recipe to
numba-dppy
#109 @PokhodenkoSA - reviewed with @reazulhoque - Move build_for_develop.sh to
numba-dppy
#110 @PokhodenkoSA - reviewed with @reazulhoque - Move README.rst and HowTo.rst to
numba-dppy
#107 @PokhodenkoSA - reviewed with @reazulhoque - Move support for dpNP #103 @PokhodenkoSA - reviewed with @reazulhoque
- Move dppl_config.py to numba-dppy #106 @PokhodenkoSA @reazulhoque - reviewed - remove code, design error handling in
numba-dppy
- Extension point: numba config options #93 @PokhodenkoSA @reazulhoque - reviewed - need to be moved
- Delete numba/dppl after moving to numba-dppy/numba_dppy with all history #111 @PokhodenkoSA - moving
numba/dppl
- delete it after all other PRs - Patch for parallel option "offload" #105 @DrTodd13 @AlexanderKalistratov @reazulhoque - reviewed - remove it but need work prior apply
- Uncomment require_global_compiler_lock() #120 @reazulhoque @DrTodd13 - need fixes in
numba-dppy
Process current PRs to numba:
- Add flags to generate dbg symbols #119 @akharche - moved to Add flags to generate debug symbols numba-dpex#27
- Initial support for Numpy subclasses (for dparray) #116 @DrTodd13 @PokhodenkoSA - move part to
numba-dppy
Patched version: #124
How to see our changes: git diff release0.51..pydppl
Recommended way of development now:
- Create conda environment
- Clone https://github.com/IntelPython/dpctl from branch master. Call:
python setup.py develop
. - Clone https://github.com/IntelPython/numba from branch patched. Call:
python setup.py develop
. - Clone https://github.com/IntelPython/numba-dppy from branch main. Call:
python setup.py develop
. - Install required conda packages if
python setup.py develop
shows that some packages are not installed.
Branches status
patched
- containsrelease0.51
branch, minimal set of patches.pydppl
- contains all history, code similar topatched
,numba-dppy
subtree.clean
- contains all history, all patches removed,numba-dppy
subtree removed - code the same asrelease0.51
patched-history
- containsclean
, minimal set of patches.
You should target your PRs to patched
branch, because it is simpler than pydppl
but contains the same code.
Metadata
Metadata
Assignees
Labels
No labels