Skip to content

Commit 086176f

Browse files
Bump legate.core (nv-legate#1103)
* Bump legate.core * Required fixes to work with bumped CCCL * Pull CCCL 3.0.3 Legate bump * Bump to ToT Legate --------- Co-authored-by: Manolis Papadakis <mpapadakis@nvidia.com> Co-authored-by: Manolis Papadakis <manopapad@gmail.com>
1 parent c70d563 commit 086176f

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

cmake/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"artifact_name": "${{ inputs.platform }}-${{ inputs.build-type }}-<<repo>>-python${{ inputs.python-version }}-${{ inputs.target-device }}-release-with_tests-${{ inputs.network }}-<<git_tag>>",
77
"artifact_workflow": "ci-gh.yml",
88
"git_shallow": false,
9-
"git_tag": "b4fd4eaf8a108a022d1607a9591c6b5442ab58e9",
9+
"git_tag": "af86b262b22bc76beadb2c847e99db15584417c3",
1010
"git_url": "git@github.com:nv-legate/legate.internal.git",
1111
"nightly_workflow": "ci-gh-nightly-release.yml",
1212
"org": "nv-legate",

src/cupynumeric/matrix/geev.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace cupynumeric {
3030
using namespace legate;
3131

3232
template <typename VAL, typename VAL_COMPLEX>
33-
struct assembleEvs : public thrust::unary_function<VAL_COMPLEX, int64_t> {
33+
struct assembleEvs {
3434
const VAL_COMPLEX* ew_in_;
3535
const VAL* ev_in_;
3636
const int64_t m_;

src/cupynumeric/sort/sort.cu

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -568,30 +568,30 @@ __global__ void transpose(int64_t* odata, int64_t* idata, int width, int height)
568568
}
569569
}
570570

571-
struct subtract : public thrust::unary_function<int64_t, int64_t> {
571+
struct subtract {
572572
const int64_t constant_;
573573

574574
subtract(int64_t constant) : constant_(constant) {}
575575

576576
__CUDA_HD__ int64_t operator()(const int64_t& input) const { return input - constant_; }
577577
};
578578

579-
struct positive_value : public thrust::unary_function<int64_t, int64_t> {
579+
struct positive_value {
580580
__CUDA_HD__ int64_t operator()(const int64_t& x) const { return x > 0 ? x : 0; }
581581
};
582582

583-
struct negative_value : public thrust::unary_function<int64_t, int64_t> {
583+
struct negative_value {
584584
__CUDA_HD__ int64_t operator()(const int64_t& x) const { return x < 0 ? -x : 0; }
585585
};
586586

587-
struct positive_plus : public thrust::binary_function<int64_t, int64_t, int64_t> {
587+
struct positive_plus {
588588
__CUDA_HD__ int64_t operator()(const int64_t& lhs, const int64_t& rhs) const
589589
{
590590
return lhs > 0 ? (lhs + (rhs > 0 ? rhs : 0)) : (rhs > 0 ? rhs : 0);
591591
}
592592
};
593593

594-
struct negative_plus : public thrust::binary_function<int64_t, int64_t, int64_t> {
594+
struct negative_plus {
595595
__CUDA_HD__ int64_t operator()(const int64_t& lhs, const int64_t& rhs) const
596596
{
597597
return (lhs < 0 ? (lhs + (rhs < 0 ? rhs : 0)) : (rhs < 0 ? rhs : 0));

src/cupynumeric/sort/sort.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ struct SegmentMergePiece {
5858
};
5959

6060
template <typename VAL>
61-
struct SegmentSampleComparator
62-
: public thrust::binary_function<SegmentSample<VAL>, SegmentSample<VAL>, bool> {
61+
struct SegmentSampleComparator {
6362
__CUDA_HD__ bool operator()(const SegmentSample<VAL>& lhs, const SegmentSample<VAL>& rhs) const
6463
{
6564
if (lhs.segment != rhs.segment) {
@@ -81,7 +80,7 @@ struct SegmentSampleComparator
8180
}
8281
};
8382

84-
struct modulusWithOffset : public thrust::binary_function<int64_t, int64_t, int64_t> {
83+
struct modulusWithOffset {
8584
const size_t constant;
8685

8786
modulusWithOffset(size_t _constant) : constant(_constant) {}

0 commit comments

Comments
 (0)