xobjects 0.6.0__tar.gz → 0.6.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xobjects-0.6.0/xobjects.egg-info → xobjects-0.6.2}/PKG-INFO +1 -1
- xobjects-0.6.2/xobjects/_version.py +1 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/array.py +2 -2
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/context_cupy.py +4 -0
- {xobjects-0.6.0 → xobjects-0.6.2/xobjects.egg-info}/PKG-INFO +1 -1
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects.egg-info/SOURCES.txt +0 -1
- xobjects-0.6.0/xobjects/_version.py +0 -1
- {xobjects-0.6.0 → xobjects-0.6.2}/Architecture.md +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/LICENSE +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/MANIFEST.in +0 -0
- /xobjects-0.6.0/Readme.md → /xobjects-0.6.2/README.md +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/pyproject.toml +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/setup.cfg +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/setup.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_align.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_array.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_buffer.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_capi.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_chunk.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_common.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_context_opencl.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_hybrid_class.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_kernel.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_linked_array.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_nplike_arrays.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_ref.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_scalars.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_shared_memory.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_strides.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_string.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_struct.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_to_dict.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_typeutils.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/tests/test_unionref.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/__init__.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/_patch_pyopencl_array.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/capi.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/context.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/context_cpu.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/context_pyopencl.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/general.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/headers/atomicadd.h +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/headers/common.h +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/hybrid_class.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/linkedarray.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/ref.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/scalar.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/specialize_source.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/string.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/struct.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/test_helpers.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/typeutils.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects/union.py +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects.egg-info/dependency_links.txt +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects.egg-info/entry_points.txt +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects.egg-info/requires.txt +0 -0
- {xobjects-0.6.0 → xobjects-0.6.2}/xobjects.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.6.2"
|
|
@@ -701,7 +701,7 @@ class Array(metaclass=MetaArray):
|
|
|
701
701
|
|
|
702
702
|
for idx in self._iter_index():
|
|
703
703
|
idx = idx if isinstance(idx, tuple) else (idx,)
|
|
704
|
-
v = self[
|
|
704
|
+
v = self[idx]
|
|
705
705
|
|
|
706
706
|
if hasattr(v, "_to_dict"):
|
|
707
707
|
vdata = v._to_dict()
|
|
@@ -713,7 +713,7 @@ class Array(metaclass=MetaArray):
|
|
|
713
713
|
):
|
|
714
714
|
vdata = (v.__class__.__name__, vdata)
|
|
715
715
|
|
|
716
|
-
out[
|
|
716
|
+
out[idx] = vdata
|
|
717
717
|
|
|
718
718
|
return out.tolist()
|
|
719
719
|
|
|
@@ -466,6 +466,10 @@ class ContextCupy(XContext):
|
|
|
466
466
|
*extra_compile_args,
|
|
467
467
|
*include_flags,
|
|
468
468
|
"-DXO_CONTEXT_CUDA",
|
|
469
|
+
# Skip heavy optimizations (e.g. involving cloning),
|
|
470
|
+
# which for us don't translate to a lot of runtime gains,
|
|
471
|
+
# but consume a lot of compile time and memory:
|
|
472
|
+
"--Ofast-compile=min",
|
|
469
473
|
)
|
|
470
474
|
|
|
471
475
|
module = cupy.RawModule(
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.6.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|