Changes: 24.06#
General
Deprecate
LegateCheckCUDA()
andLegateCheckCUDAStream()
in favor ofLEGATE_CHECK_CUDA()
andLEGATE_CHECK_CUDA_STREAM()
. However, unlike most deprecations, users are not encouraged to use the replacements. Rather, users should create their own variants of these macros as bothLEGATE_CHECK_CUDA()
andLEGATE_CHECK_CUDA_STREAM()
are temporary and will be removed in a future release. As they are temporary, their removal will be immediate, and will not be precipitated by a deprecation period.
Data
Remove default constructor for
LogicalArray
,LogicalStore
,PhysicalArray
,PhysicalStore
. These were never “valid” methods to construct these objects, and only existed to work around deficiencies in the Cython compiler. Users should use the variousRuntime
methods to construct these objects instead.
Mapping
Partitioning
Remove default constructor for
Variable
, andConstraint
. These were never “valid” methods to construct these objects, and only existed to work around deficiencies in the Cython compiler. Users should use the variousTask
and constraint-generating methods (e.g.align()
,scale()
) to construct these objects instead.
Tasks
Remove default constructor for
AutoTask
, andManualTask
. These were never “valid” methods to construct these objects, and only existed to work around deficiencies in the Cython compiler. Users should use the variousRuntime
methods to construct these objects instead.Allow declaring default task
VariantOption
’s per variant inline within the task declaration. If present, these default options will be used at task registration. SeeLegateTask
for further discussion.
Types
Deprecate
type_code_of
in favor oftype_code_of_v
, as the latter is more idiomatically named in C++. In the futuretype_code_of
may be changed to hold avalue
member to also be inline with idiomatic C++.Deprecate
type_of
in favor oftype_of_t
, as the latter is more idiomatically named in C++. In the futuretype_of
will be changed to hold atype
member to also be inline with idiomatic C++.
Runtime
Remove default constructor for
Library
, andType
. These were never “valid” methods to construct these objects, and only existed to work around deficiencies in the Cython compiler. Users should use the variousRuntime
methods to construct these objects instead.Add
Runtime::get_executing_processor()
.
Utilities
Rename
<core/cuda_help.h>
to<core/cuda.h>
. While this header is publicly exported, it is only done so out of necessity, and users are encouraged not to rely on it.