<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in nvptx_target_teams_distribute_parallel_for_codegen.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>b52d33e6 - [OpenMP][NFC] Reuse check lines for Clang/OpenMP tests</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#b52d33e6</link>
        <description>[OpenMP][NFC] Reuse check lines for Clang/OpenMP testsI used a script to reuse existing check lines rather than creating newones. There are more opportunities to reduce the line count but the&quot;check generated functions&quot; logic makes that somewhat tricky.FWIW, we really should redo the update script with all these use casesin mind...Differential Revision: https://reviews.llvm.org/D128686

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Mon, 27 Jun 2022 22:45:17 +0000</pubDate>
        <dc:creator>Johannes Doerfert &lt;johannes@jdoerfert.de&gt;</dc:creator>
    </item>
<item>
        <title>532dc62b - [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#532dc62b</link>
        <description>[OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC)This adds -no-opaque-pointers to clang tests whose output willchange when opaque pointers are enabled by default. This isintended to be part of the migration approach described inhttps://discourse.llvm.org/t/enabling-opaque-pointers-by-default/61322/9.The patch has been produced by replacing %clang_cc1 with%clang_cc1 -no-opaque-pointers for tests that fail with opaquepointers enabled. Worth noting that this doesn&apos;t cover all tests,there&apos;s a remaining ~40 tests not using %clang_cc1 that will needa followup change.Differential Revision: https://reviews.llvm.org/D123115

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Thu, 07 Apr 2022 10:03:55 +0000</pubDate>
        <dc:creator>Nikita Popov &lt;npopov@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>95ea3e86 - [OpenMP] Regenerate the check lines for 2 tests</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#95ea3e86</link>
        <description>[OpenMP] Regenerate the check lines for 2 testsSomehow those check lines were mostly untested prefixes and the ones wewere looking for have been removed. Simple cleanup.

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Mon, 21 Mar 2022 21:02:42 +0000</pubDate>
        <dc:creator>Johannes Doerfert &lt;johannes@jdoerfert.de&gt;</dc:creator>
    </item>
<item>
        <title>53d5757e - [OpenMP] Add kernel string attribute to kernel function</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#53d5757e</link>
        <description>[OpenMP] Add kernel string attribute to kernel functionThis patch adds a function attribute to the kernel function generated inOpenMP offloading. We already create a `nvvm.annotations` metadata nodeindicating the kernels present in the program. However, this createdsome indirection when trying to identify if a specific function was anentry. We add a single function attribute for each function now tosimplify this.Reviewed By: jdoerfertDifferential Revision: https://reviews.llvm.org/D118708

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Tue, 01 Feb 2022 16:46:20 +0000</pubDate>
        <dc:creator>Joseph Huber &lt;jhuber6@vols.utk.edu&gt;</dc:creator>
    </item>
<item>
        <title>1b1c8d83 - [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#1b1c8d83</link>
        <description>[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by defaultTurning on `enable_noundef_analysis` flag allows better codegen by removing freeze instructions.I modified clang by renaming `enable_noundef_analysis` flag to `disable-noundef-analysis` and turning it off by default.Test updates are made as a separate patch: D108453Reviewed By: eugenisDifferential Revision: https://reviews.llvm.org/D105169

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Sun, 16 Jan 2022 09:53:11 +0000</pubDate>
        <dc:creator>hyeongyu kim &lt;gusrb406@snu.ac.kr&gt;</dc:creator>
    </item>
<item>
        <title>7cdaa5a9 - [OpenMP][FIX] Change globalization alignment to 16</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#7cdaa5a9</link>
        <description>[OpenMP][FIX] Change globalization alignment to 16This patch changes the default aligntment from 8 to 16, and encodes thisinformation in the `__kmpc_alloc_shared` runtime call to communicate itto the HeapToStack pass. The previous alignment of 8 was not sufficientfor the maximum size of primitive types on 64-bit systems, and needs tobe increaesd. This reduces the amount of space availible in the datasharing stack, so this implementation will need to be improved later toinclude the alignment requirements in the allocation call, and use itproperly in the data sharing stack in the runtime.Depends on D115888Reviewed By: jdoerfertDifferential Revision: https://reviews.llvm.org/D115971

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Fri, 17 Dec 2021 22:00:13 +0000</pubDate>
        <dc:creator>Joseph Huber &lt;jhuber6@vols.utk.edu&gt;</dc:creator>
    </item>
<item>
        <title>1201a0f3 - [OpenMP] Fix incorrect type when casting from uintptr</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#1201a0f3</link>
        <description>[OpenMP] Fix incorrect type when casting from uintptrMakeNaturalAlignAddrLValue() expects the pointee type, but thepointer type was passed. As a result, the natural alignment ofthe pointer (usually 8) was always used in place of the naturalalignment of the value type.Differential Revision: https://reviews.llvm.org/D116171

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Wed, 22 Dec 2021 15:30:22 +0000</pubDate>
        <dc:creator>Nikita Popov &lt;npopov@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>fd9b0999 - Revert &quot;[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#fd9b0999</link>
        <description>Revert &quot;[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default&quot;This reverts commit aacfbb953eb705af2ecfeb95a6262818fa85dd92.Revert &quot;Fix lit test failures in CodeGenCoroutines&quot;This reverts commit 63fff0f5bffe20fa2c84a45a41161afa0043cb34.

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Mon, 08 Nov 2021 17:09:49 +0000</pubDate>
        <dc:creator>hyeongyu kim &lt;gusrb406@snu.ac.kr&gt;</dc:creator>
    </item>
<item>
        <title>aacfbb95 - [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#aacfbb95</link>
        <description>[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by defaultTurning on `enable_noundef_analysis` flag allows better codegen by removing freeze instructions.I modified clang by renaming `enable_noundef_analysis` flag to `disable-noundef-analysis` and turning it off by default.Test updates are made as a separate patch: D108453Reviewed By: eugenisDifferential Revision: https://reviews.llvm.org/D105169[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2)This patch updates test files after D105169.Autogenerated test codes are changed by `utils/update_cc_test_checks.py,` and non-autogenerated test codes are changed as follows:(1) I wrote a python script that (partially) updates the tests using regex: {F18594904} The script is not perfect, but I believe it gives hints about which patterns are updated to have `noundef` attached.(2) The remaining tests are updated manually.Reviewed By: eugenisDifferential Revision: https://reviews.llvm.org/D108453Resolve lit failures in clang after 8ca4b3e&apos;s landFix lit test failures in clang-ppc* and clang-x64-windows-msvcFix missing failures in clang-ppc64be* and retry fixing clang-x64-windows-msvcFix internal_clone(aarch64) inline assembly

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Fri, 15 Oct 2021 10:26:07 +0000</pubDate>
        <dc:creator>hyeongyukim &lt;gusrb406@snu.ac.kr&gt;</dc:creator>
    </item>
<item>
        <title>89ad2822 - Revert &quot;[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#89ad2822</link>
        <description>Revert &quot;[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default&quot;This reverts commit 7584ef766a7219b6ee5a400637206d26e0fa98ac.

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Sat, 06 Nov 2021 06:39:19 +0000</pubDate>
        <dc:creator>Juneyoung Lee &lt;aqjune@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>7584ef76 - [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#7584ef76</link>
        <description>[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by defaultTurning on `enable_noundef_analysis` flag allows better codegen by removing freeze instructions.I modified clang by renaming `enable_noundef_analysis` flag to `disable-noundef-analysis` and turning it off by default.Test updates are made as a separate patch: D108453Reviewed By: eugenisDifferential Revision: https://reviews.llvm.org/D105169

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Sat, 06 Nov 2021 06:34:49 +0000</pubDate>
        <dc:creator>Juneyoung Lee &lt;aqjune@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f193bcc7 - Revert D105169 due to the two-stage failure in ASAN</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#f193bcc7</link>
        <description>Revert D105169 due to the two-stage failure in ASANThis reverts the following commits:37ca7a795b277c20c02a218bf44052278c03344b9aa6c72b92b6c89cc6d23b693257df9af7de2d15705387c5074bcca36d626882462ebbc2bcc3bed48ca4b3ef19fe82d7ad6a6e1515317dcc01b4151580dba72a669b5416e97a42fd2c2a7bc5a6d3f44a

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Mon, 18 Oct 2021 14:03:47 +0000</pubDate>
        <dc:creator>Juneyoung Lee &lt;aqjune@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>8ca4b3ef - [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#8ca4b3ef</link>
        <description>[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2)This patch updates test files after D105169.Autogenerated test codes are changed by `utils/update_cc_test_checks.py,` and non-autogenerated test codes are changed as follows:(1) I wrote a python script that (partially) updates the tests using regex: {F18594904} The script is not perfect, but I believe it gives hints about which patterns are updated to have `noundef` attached.(2) The remaining tests are updated manually.Reviewed By: eugenisDifferential Revision: https://reviews.llvm.org/D108453

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Fri, 15 Oct 2021 10:45:30 +0000</pubDate>
        <dc:creator>Juneyoung Lee &lt;aqjune@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f7de6962 - [CFE][Codegen][In-progress] Remove CodeGenFunction::InitTempAlloca()</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#f7de6962</link>
        <description>[CFE][Codegen][In-progress] Remove CodeGenFunction::InitTempAlloca()Sequel patch to https://reviews.llvm.org/D111293.Remove call to CodeGenFunction::InitTempAlloca() from OpenMP relatedcodegen part.Also remove the metadata `!llvm.access.group` from the updated littests.Reviewed By: rjmccallDifferential Revision: https://reviews.llvm.org/D111316

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Tue, 12 Oct 2021 04:31:31 +0000</pubDate>
        <dc:creator>hsmahesha &lt;mahesha.comp@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>bad44d5f - [OpenMP] Add RTL function for getting number of threads in block.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#bad44d5f</link>
        <description>[OpenMP] Add RTL function for getting number of threads in block.This patch adds support for the`__kmpc_get_hardware_num_threads_in_block` function that returns thenumber of threads. This was missing in the new runtime and was used bythe AMDGPU plugin which prevented it from using the new runtime. Thispatchs also unified the interface for getting the thread numbers in thefrontend.Originally authored by jdoerfert.Reviewed By: JonChesterfieldDifferential Revision: https://reviews.llvm.org/D111475

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Sat, 09 Oct 2021 00:08:28 +0000</pubDate>
        <dc:creator>Joseph Huber &lt;jhuber6@vols.utk.edu&gt;</dc:creator>
    </item>
<item>
        <title>b4a55436 - [OpenMP] Introduce a new worksharing RTL function for distribute</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#b4a55436</link>
        <description>[OpenMP] Introduce a new worksharing RTL function for distributeThis patch adds a new RTL function for worksharing. Currently we use`__kmpc_for_static_init` for both the `distribute` and `parallel`portion of the loop clause. This patch replaces the `distribute` portionwith a new runtime call `__kmpc_distribute_static_init`. Currently thiswill be used exactly the same way, but will make it easier in the futureto fine-tune the distribute and parallel portion of the loop.Reviewed By: jdoerfertDifferential Revision: https://reviews.llvm.org/D110429

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Fri, 24 Sep 2021 15:02:36 +0000</pubDate>
        <dc:creator>Joseph Huber &lt;jhuber6@vols.utk.edu&gt;</dc:creator>
    </item>
<item>
        <title>423d34f7 - [OpenMP][Offloading] Change `bool IsSPMD` to `int8_t Mode` in `__kmpc_target_init` and `__kmpc_target_deinit`</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#423d34f7</link>
        <description>[OpenMP][Offloading] Change `bool IsSPMD` to `int8_t Mode` in `__kmpc_target_init` and `__kmpc_target_deinit`This is a follow-up of D110029, which uses bitset to indicate execution mode. This patches makes the changes in the function call.Reviewed By: jdoerfertDifferential Revision: https://reviews.llvm.org/D110279

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Wed, 22 Sep 2021 21:16:28 +0000</pubDate>
        <dc:creator>Shilei Tian &lt;tianshilei1992@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>ac90dfc4 - Revert &quot;[OpenMP] Codegen aggregate for outlined function captures&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#ac90dfc4</link>
        <description>Revert &quot;[OpenMP] Codegen aggregate for outlined function captures&quot;This reverts commit 1d66649adf28d48ae1731516d87fb899426e3349.Revert to fix AMG GPU issue.

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Tue, 21 Sep 2021 20:20:39 +0000</pubDate>
        <dc:creator>Giorgis Georgakoudis &lt;georgakoudis1@llnl.gov&gt;</dc:creator>
    </item>
<item>
        <title>1d66649a - [OpenMP] Codegen aggregate for outlined function captures</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#1d66649a</link>
        <description>[OpenMP] Codegen aggregate for outlined function capturesParallel regions are outlined as functions with capture variables explicitly generated as distinct parameters in the function&apos;s argument list. That complicates the fork_call interface in the OpenMP runtime: (1) the fork_call is variadic since there is a variable number of arguments to forward to the outlined function, (2) wrapping/unwrapping arguments happens in the OpenMP runtime, which is sub-optimal, has been a source of ABI bugs, and has a hardcoded limit (16) in the number of arguments, (3)  forwarded arguments must cast to pointer types, which complicates debugging. This patch avoids those issues by aggregating captured arguments in a struct to pass to the fork_call.Reviewed By: jdoerfert, jhuber6Differential Revision: https://reviews.llvm.org/D102107

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Tue, 21 Sep 2021 00:12:14 +0000</pubDate>
        <dc:creator>Giorgis Georgakoudis &lt;georgakoudis1@llnl.gov&gt;</dc:creator>
    </item>
<item>
        <title>0276db14 - [OpenMP] Creating the `omp_target_num_teams` and `omp_target_thread_limit` attributes to outlined functions</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp#0276db14</link>
        <description>[OpenMP] Creating the `omp_target_num_teams` and `omp_target_thread_limit` attributes to outlined functionsThe device runtime contains several calls to __kmpc_get_hardware_num_threads_in_blockand __kmpc_get_hardware_num_blocks. If the thread_limit and the num_teams are constant,these calls can be folded to the constant value.In commit D106033 we have the optimization phase. This commit adds the attributes tothe outlined function for the grid size. the two attributes are `omp_target_num_teams` and`omp_target_thread_limit`. These values are added as long as they are constant.Two functions are created `getNumThreadsExprForTargetDirective` and`getNumTeamsExprForTargetDirective`. The original functions `emitNumTeamsForTargetDirective` and `emitNumThreadsForTargetDirective` identify the expresion and emit the code.However, for the Device version of the outlined function, we cannot emit anything.Therefore, this is a first attempt to separate emision of code from deduction of thevalues.Reviewed By: jdoerfertDifferential Revision: https://reviews.llvm.org/D106298

            List of files:
            /llvm-project-15.0.7/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp</description>
        <pubDate>Tue, 27 Jul 2021 21:20:47 +0000</pubDate>
        <dc:creator>Jose M Monsalve Diaz &lt;jmonsalvediaz@anl.gov&gt;</dc:creator>
    </item>
</channel>
</rss>
