<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/mlir/lib/Dialect/GPU/Transforms/ROCDLAttachTarget.cpp, branch users/shawbyoung/spr/main.boltnfc-refactoring-callgraph</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>[mlir] Use llvm::unique (NFC) (#96415)</title>
<updated>2024-06-24T18:54:02+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2024-06-24T18:54:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b7b337fb91f9b0538fcc4467ffca7c6c71192bc9'/>
<id>b7b337fb91f9b0538fcc4467ffca7c6c71192bc9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir] Apply ClangTidy fixes (NFC)</title>
<updated>2023-08-23T15:18:59+00:00</updated>
<author>
<name>Adrian Kuegel</name>
<email>akuegel@google.com</email>
</author>
<published>2023-08-23T15:18:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bf92a7655cebae1e7b3ba16086c30ce0044217fb'/>
<id>bf92a7655cebae1e7b3ba16086c30ce0044217fb</id>
<content type='text'>
Prefer to use .empty() instead of checking size().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prefer to use .empty() instead of checking size().
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir] Disentangle dialect and extension registrations.</title>
<updated>2023-08-22T00:40:09+00:00</updated>
<author>
<name>Nicolas Vasilache</name>
<email>nicolasvasilache@users.noreply.github.com</email>
</author>
<published>2023-08-22T00:38:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7c4e8c6a273f25b3ef33e9c123b3969632ab59bb'/>
<id>7c4e8c6a273f25b3ef33e9c123b3969632ab59bb</id>
<content type='text'>
This revision avoids the registration of dialect extensions in Pass::getDependentDialects.

Such registration of extensions can be dangerous because `DialectRegistry::isSubsetOf` is
always guaranteed to return false for extensions (i.e. there is no mechanism to track
whether a lambda is already in the list of already registered extensions).
When the context is already in a multi-threaded mode, this is guaranteed to assert.

Arguably a more structured registration mechanism for extensions with a unique ExtensionID
could be envisioned in the future.

In the process of cleaning this up, multiple usage inconsistencies surfaced around the
registration of translation extensions that this revision also cleans up.

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D157703
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This revision avoids the registration of dialect extensions in Pass::getDependentDialects.

Such registration of extensions can be dangerous because `DialectRegistry::isSubsetOf` is
always guaranteed to return false for extensions (i.e. there is no mechanism to track
whether a lambda is already in the list of already registered extensions).
When the context is already in a multi-threaded mode, this is guaranteed to assert.

Arguably a more structured registration mechanism for extensions with a unique ExtensionID
could be envisioned in the future.

In the process of cleaning this up, multiple usage inconsistencies surfaced around the
registration of translation extensions that this revision also cleans up.

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D157703
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][gpu] Add passes to attach (NVVM|ROCDL) target attributes to GPU Modules</title>
<updated>2023-08-12T00:45:26+00:00</updated>
<author>
<name>Fabian Mora</name>
<email>fmora.dev@gmail.com</email>
</author>
<published>2023-08-12T00:44:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fbbb8adef15cc0f598facc7c6ecffaa247f60b48'/>
<id>fbbb8adef15cc0f598facc7c6ecffaa247f60b48</id>
<content type='text'>
Adds the passes `nvvm-attach-target` &amp; `rocdl-attach-target for attaching `nvvm.target` &amp; `rocdl.target` attributes to GPU Modules.

These passes search GPU Modules in the immediate region of the Op being acted on, attaching the target attribute to the module.
Modules can be selected using a regex string, allowing fine grain attachment of targets, see the test `attach-target.mlir` for an example.

Depends on D154153

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D157351
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds the passes `nvvm-attach-target` &amp; `rocdl-attach-target for attaching `nvvm.target` &amp; `rocdl.target` attributes to GPU Modules.

These passes search GPU Modules in the immediate region of the Op being acted on, attaching the target attribute to the module.
Modules can be selected using a regex string, allowing fine grain attachment of targets, see the test `attach-target.mlir` for an example.

Depends on D154153

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D157351
</pre>
</div>
</content>
</entry>
</feed>
