Skip to content

Commit

Permalink
24.11.01 release
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinz committed Dec 7, 2024
1 parent b198f33 commit 9627cb8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ limitations under the License.
-->


# cuPyNumeric

cuPyNumeric is a [Legate](https://github.com/nv-legate/legate.core) library
Expand Down
2 changes: 1 addition & 1 deletion conda/conda-build/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{% set legate_version = (version.rsplit('.',1)[0] ~ ".dev" ~ "|>=" ~ version.rsplit('.',1)[0]) %}
{% else %}
{% set version = environ.get('GIT_DESCRIBE_TAG', placeholder_version).lstrip('v') %}
{% set legate_version = version %}
{% set legate_version = "24.11.00" %}
{% endif %}

package:
Expand Down
11 changes: 11 additions & 0 deletions cupynumeric/_array/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,17 @@ def data(self) -> memoryview:
"""
return self.__array__().data

def __buffer__(self, flags: int, /) -> memoryview:
"""
Python buffer object pointing to the start of the array's data.
Notes
-----
This causes the entire (potentially distributed) array to be collected
into one memory.
"""
return self.__array__().__buffer__(flags) # type: ignore

@property
def dtype(self) -> np.dtype[Any]:
"""
Expand Down

0 comments on commit 9627cb8

Please sign in to comment.