Skip to content

Commit

Permalink
Catch up changes in the core API (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
magnatelee authored Jun 22, 2023
1 parent 0438ecb commit fcba038
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmake/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"git_url" : "https://github.com/nv-legate/legate.core.git",
"git_shallow": false,
"always_download": false,
"git_tag" : "05a871a382013319e4219f3fc6dfdf095f0d6b66"
"git_tag" : "bdca5a8b1148bed1b47eeb6f6f17f5df73318b5f"
}
}
}
5 changes: 2 additions & 3 deletions cunumeric/deferred.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def __numpy_array__(self) -> npt.NDArray[Any]:
dtype=self.dtype,
)
else:
alloc = self.base.get_inline_allocation(self.context)
alloc = self.base.get_inline_allocation()

def construct_ndarray(
shape: NdShape, address: Any, strides: tuple[int, ...]
Expand Down Expand Up @@ -1430,8 +1430,7 @@ def _fill(self, value: Any) -> None:
self.base.set_storage(value.storage)
elif self.dtype.kind != "V" and self.base.kind is not Future:
# Emit a Legion fill
fill = self.context.create_fill(self.base, value)
fill.execute()
self.context.issue_fill(self.base, value)
else:
# Perform the fill using a task
# If this is a fill for an arg value, make sure to pass
Expand Down
1 change: 0 additions & 1 deletion cunumeric/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,6 @@ def find_or_create_array_thunk(
optimize_scalar=False,
)
store.attach_external_allocation(
self.legate_context,
array.data,
share,
)
Expand Down
2 changes: 0 additions & 2 deletions src/cunumeric/mapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#include "cunumeric/cunumeric.h"

#include "core/mapping/base_mapper.h"

namespace cunumeric {

class CuNumericMapper : public legate::mapping::Mapper {
Expand Down

0 comments on commit fcba038

Please sign in to comment.