We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4feffb commit f92309aCopy full SHA for f92309a
flang/runtime/assign.cpp
@@ -263,10 +263,12 @@ RT_API_ATTRS static void Assign(
263
}
264
std::size_t toElementBytes{to.ElementBytes()};
265
std::size_t fromElementBytes{from.ElementBytes()};
266
- auto isSimpleMemmove{[&]() {
+ // The following lambda definition violates the conding style,
267
+ // but cuda-11.8 nvcc hits an internal error with the brace initialization.
268
+ auto isSimpleMemmove = [&]() {
269
return !toDerived && to.rank() == from.rank() && to.IsContiguous() &&
270
from.IsContiguous() && toElementBytes == fromElementBytes;
- }};
271
+ };
272
StaticDescriptor<maxRank, true, 10 /*?*/> deferredDeallocStatDesc;
273
Descriptor *deferDeallocation{nullptr};
274
if (MayAlias(to, from)) {
0 commit comments