Skip to content

Commit 2add36f

Browse files
Drop write-access
1 parent 8f0aaf7 commit 2add36f

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

cub/cub/util_type.cuh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,6 @@ struct FutureValue
272272
return *m_iter;
273273
}
274274

275-
_CCCL_HOST_DEVICE _CCCL_FORCEINLINE operator T&() noexcept
276-
{
277-
return *m_iter;
278-
}
279-
280275
private:
281276
IterT m_iter;
282277
};

cub/test/catch2_test_util_type.cu

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ C2H_TEST("Test FutureValue", "[util][type]")
118118
value = 43;
119119
CHECK(fv == 43);
120120

121-
// write
122-
++fv;
123-
CHECK(value == 44);
124-
125121
// CTAD
126122
cub::FutureValue fv2{&value};
127123
STATIC_REQUIRE(::cuda::std::is_same_v<decltype(fv2), cub::FutureValue<int, int*>>);

0 commit comments

Comments
 (0)