<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/flang-rt/lib/runtime/pointer.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[flang] Don't associate pointers with zero sized storage targets (#155867)</title>
<updated>2025-08-28T22:53:24+00:00</updated>
<author>
<name>Eugene Epshteyn</name>
<email>eepshteyn@nvidia.com</email>
</author>
<published>2025-08-28T22:53:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=313b52f927428a3a8703855cd699075349e2409e'/>
<id>313b52f927428a3a8703855cd699075349e2409e</id>
<content type='text'>
Fixes #155481</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #155481</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][runtime] Preserve type when remapping monomorphic pointers (#149427)</title>
<updated>2025-07-18T20:45:05+00:00</updated>
<author>
<name>Peter Klausler</name>
<email>pklausler@nvidia.com</email>
</author>
<published>2025-07-18T20:45:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9e5b2fbe86ed9b303eff779fff012d6a96574f3d'/>
<id>9e5b2fbe86ed9b303eff779fff012d6a96574f3d</id>
<content type='text'>
Pointer remappings unconditionally update the element byte size and
derived type of the pointer's descriptor. This is okay when the pointer
is polymorphic, but not when a pointer is associated with an extended
type.

To communicate this monomorphic case to the runtime, add a new entry
point so as to not break forward binary compatibility.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pointer remappings unconditionally update the element byte size and
derived type of the pointer's descriptor. This is okay when the pointer
is polymorphic, but not when a pointer is associated with an extended
type.

To communicate this monomorphic case to the runtime, add a new entry
point so as to not break forward binary compatibility.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][runtime] Speed up initialization &amp; destruction (#148087)</title>
<updated>2025-07-14T18:14:02+00:00</updated>
<author>
<name>Peter Klausler</name>
<email>pklausler@nvidia.com</email>
</author>
<published>2025-07-14T18:14:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2e53a68c09b1bb4bc6c31146c8e69789ae9848ae'/>
<id>2e53a68c09b1bb4bc6c31146c8e69789ae9848ae</id>
<content type='text'>
Rework derived type initialization in the runtime to just initialize the
first element of any array, and then memcpy it to the others, rather
than exercising the per-component paths for each element.

Reword derived type destruction in the runtime to detect and exploit a
fast path for allocatable components whose types themselves don't need
nested destruction.

Small tweaks were made in hot paths exposed by profiling in descriptor
operations and derived type assignment.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rework derived type initialization in the runtime to just initialize the
first element of any array, and then memcpy it to the others, rather
than exercising the per-component paths for each element.

Reword derived type destruction in the runtime to detect and exploit a
fast path for allocatable components whose types themselves don't need
nested destruction.

Small tweaks were made in hot paths exposed by profiling in descriptor
operations and derived type assignment.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][cuda] Use a reference for asyncObject (#140614)</title>
<updated>2025-05-19T22:02:53+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-05-19T22:02:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f5609aa1b014bea1eb72a992665c6afa41015794'/>
<id>f5609aa1b014bea1eb72a992665c6afa41015794</id>
<content type='text'>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.

New tentative with some fix. The previous was reverted some time ago.

Reviewed in #138010</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.

New tentative with some fix. The previous was reverted some time ago.

Reviewed in #138010</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[flang][cuda] Use a reference for asyncObject" (#138221)</title>
<updated>2025-05-02T00:41:44+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-05-02T00:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9b6b144438ccf371e51b578e642f2ce5d3aa89c8'/>
<id>9b6b144438ccf371e51b578e642f2ce5d3aa89c8</id>
<content type='text'>
Reverts llvm/llvm-project#138186</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#138186</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][cuda] Use a reference for asyncObject (#138186)</title>
<updated>2025-05-02T00:04:12+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-05-02T00:04:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7f922f1400f00a73d1618e3f17556704c6b9436d'/>
<id>7f922f1400f00a73d1618e3f17556704c6b9436d</id>
<content type='text'>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.

New tentative with some fix. The previous was reverted yesterday.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.

New tentative with some fix. The previous was reverted yesterday.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[flang][cuda] Use a reference for asyncObject (#138010)" (#138082)</title>
<updated>2025-05-01T05:03:26+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-05-01T05:03:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=01a18809ee80b5a8bfa5a7a116e846405ab2851a'/>
<id>01a18809ee80b5a8bfa5a7a116e846405ab2851a</id>
<content type='text'>
This reverts commit 9b0eaf71e674a28ee55be3afa11b5f7d4da732c0.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 9b0eaf71e674a28ee55be3afa11b5f7d4da732c0.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][cuda] Use a reference for asyncObject (#138010)</title>
<updated>2025-04-30T21:02:29+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-04-30T21:02:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9b0eaf71e674a28ee55be3afa11b5f7d4da732c0'/>
<id>9b0eaf71e674a28ee55be3afa11b5f7d4da732c0</id>
<content type='text'>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][cuda] Add async id to allocators (#134724)</title>
<updated>2025-04-08T17:16:59+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-04-08T17:16:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5ebe22a35d27d69a9ba878010072588ace489035'/>
<id>5ebe22a35d27d69a9ba878010072588ace489035</id>
<content type='text'>
Add async id to allocators in preparation for stream allocation.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add async id to allocators in preparation for stream allocation.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][rt] Use allocator registry to allocate the pointer payload (#129992)</title>
<updated>2025-03-06T16:47:27+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-03-06T16:47:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c8898b09f9cc8b2d8df37c40b1d7c5ab868cd9db'/>
<id>c8898b09f9cc8b2d8df37c40b1d7c5ab868cd9db</id>
<content type='text'>
pointer allocation is done through `AllocateValidatedPointerPayload`.
This function was not updated to use the registered allocators in the
descriptor to perform the allocation. This patch makes use of the
allocator.
The footer word is not set and not checked for allocator other than the
default one. The support will likely come in a follow up patch but this
will necessitate more functions to be registered to be able to set and
get the footer value when the allocation in on the device.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pointer allocation is done through `AllocateValidatedPointerPayload`.
This function was not updated to use the registered allocators in the
descriptor to perform the allocation. This patch makes use of the
allocator.
The footer word is not set and not checked for allocator other than the
default one. The support will likely come in a follow up patch but this
will necessitate more functions to be registered to be able to set and
get the footer value when the allocation in on the device.</pre>
</div>
</content>
</entry>
</feed>
