Skip to content

Commit c919221

Browse files
authored
[flang][cuda][NFC] Remove TODO implemented in semantic (#148058)
1 parent aa99026 commit c919221

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

flang/lib/Lower/Bridge.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4842,8 +4842,6 @@ class FirConverter : public Fortran::lower::AbstractConverter {
48424842
.detailsIf<Fortran::semantics::ObjectEntityDetails>()) {
48434843
if (details->cudaDataAttr() &&
48444844
*details->cudaDataAttr() != Fortran::common::CUDADataAttr::Pinned) {
4845-
// TODO: This should probably being checked in semantic and give a
4846-
// proper error.
48474845
assert(
48484846
nbDeviceResidentObject <= 1 &&
48494847
"Only one reference to the device resident object is supported");

0 commit comments

Comments
 (0)