fix undefined in device code error (#1880)

This commit is contained in:
LiYu Lu 2024-11-07 03:56:54 +08:00 committed by GitHub
parent 32e3c38aef
commit d656afbd2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -176,6 +176,7 @@ public:
}
// Address
CUTE_HOST_DEVICE
subbyte_iterator<T> operator&() const {
return {ptr_, idx_};
}