<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/benchmarks/gpu/src, branch users/nico/python-1</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>[libc][gpu] Add Atan2 Benchmarks (#104708)</title>
<updated>2024-08-18T17:50:30+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-08-18T17:50:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=deb6b45c32687275a6d4e24326ffc9700f8ae52c'/>
<id>deb6b45c32687275a6d4e24326ffc9700f8ae52c</id>
<content type='text'>
This PR adds benchmarking for `atan2()`, `__nv_atan2()`, and
`__ocml_atan2_f64()` using the same setup as `sin()`. This PR also adds
support for throughout bencmarking for functions with 2 inputs.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR adds benchmarking for `atan2()`, `__nv_atan2()`, and
`__ocml_atan2_f64()` using the same setup as `sin()`. This PR also adds
support for throughout bencmarking for functions with 2 inputs.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][gpu] Add Sinf Benchmarks (#102532)</title>
<updated>2024-08-08T21:26:26+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-08-08T21:26:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2b592b16c17e5c4fc135534d80d7c61a986a292c'/>
<id>2b592b16c17e5c4fc135534d80d7c61a986a292c</id>
<content type='text'>
This PR adds benchmarking for `sinf()` using the same set up as `sin()`
but with a smaller range for floats.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR adds benchmarking for `sinf()` using the same set up as `sin()`
but with a smaller range for floats.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] [gpu] Fix Minor Benchmark UI Issues (#102529)</title>
<updated>2024-08-08T20:32:20+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-08-08T20:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1248698e9bb2a0232eee53a72679ed5077190a90'/>
<id>1248698e9bb2a0232eee53a72679ed5077190a90</id>
<content type='text'>
Previously, `AmdgpuSinTwoPow_128` and others were too large for their
table cells. This PR shortens the name to `AmdSin...`

There were also some `-` missing in the separator. This PR instead
creates the separator string using the length of the headers.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, `AmdgpuSinTwoPow_128` and others were too large for their
table cells. This PR shortens the name to `AmdSin...`

There were also some `-` missing in the separator. This PR instead
creates the separator string using the length of the headers.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] [gpu] Add Generic, NvSin, and OcmlSinf64 Throughput Benchmark (#101917)</title>
<updated>2024-08-08T20:05:34+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-08-08T20:05:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9a070d6d0f0c111c2269a912f98908c821993e37'/>
<id>9a070d6d0f0c111c2269a912f98908c821993e37</id>
<content type='text'>
This PR implements
https://github.com/lntue/llvm-project/commit/2a158426d4b90ffaa3eaecc9bc10e5aed11f1bcf
to provide better throughput benchmarking for libc `sin()` and
`__nv_sin()`.

These changes have not been tested on AMDGPU yet, only compiled.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR implements
https://github.com/lntue/llvm-project/commit/2a158426d4b90ffaa3eaecc9bc10e5aed11f1bcf
to provide better throughput benchmarking for libc `sin()` and
`__nv_sin()`.

These changes have not been tested on AMDGPU yet, only compiled.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Only link in the appropriate architecture's device libs</title>
<updated>2024-07-30T23:36:41+00:00</updated>
<author>
<name>Joseph Huber</name>
<email>huberjn@outlook.com</email>
</author>
<published>2024-07-30T23:35:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ebdcb76d1a3b6d8fed06c91c0a318f07f4bca628'/>
<id>ebdcb76d1a3b6d8fed06c91c0a318f07f4bca628</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add AMDGPU Sin Benchmark (#101120)</title>
<updated>2024-07-30T15:19:48+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-07-30T15:19:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8f7910a4fc08818462e0e836db74b20290cd36c7'/>
<id>8f7910a4fc08818462e0e836db74b20290cd36c7</id>
<content type='text'>
This PR adds support for benchmarking `__ocml_sin_f64()` against
`sin()`. This PR is currently a draft because I do not have access to an
AMD GPU and was not able to test the PR, but the code compiled when I
ran `ninja gpu-benchmark` from `runtimes-amdgcn-amd-amdhsa-bins`

Co-authored-by: Joseph Huber &lt;huberjn@outlook.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR adds support for benchmarking `__ocml_sin_f64()` against
`sin()`. This PR is currently a draft because I do not have access to an
AMD GPU and was not able to test the PR, but the code compiled when I
ran `ninja gpu-benchmark` from `runtimes-amdgcn-amd-amdhsa-bins`

Co-authored-by: Joseph Huber &lt;huberjn@outlook.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add Generic and NVPTX Sin Benchmark (#99795)</title>
<updated>2024-07-30T03:09:11+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-07-30T03:09:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=677796cab327409012bab0e374e743602435edaf'/>
<id>677796cab327409012bab0e374e743602435edaf</id>
<content type='text'>
This PR adds sin benchmarking for a range of values and on a
pregenerated random distribution.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR adds sin benchmarking for a range of values and on a
pregenerated random distribution.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add Multithreaded GPU Benchmarks (#98964)</title>
<updated>2024-07-18T12:18:23+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-07-18T12:18:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8badfccefeaff2c05ef71a8d2fd6d803a1b4e129'/>
<id>8badfccefeaff2c05ef71a8d2fd6d803a1b4e129</id>
<content type='text'>
This PR runs benchmarks on a 32 threads (A single warp on NVPTX) by
default, adding the option for single threaded benchmarks. We can
specify that a benchmark should be run on a single thread using the
`SINGLE_THREADED_BENCHMARK()` macro.

I chose to use a flag here so that other options could be added in the
future.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR runs benchmarks on a 32 threads (A single warp on NVPTX) by
default, adding the option for single threaded benchmarks. We can
specify that a benchmark should be run on a single thread using the
`SINGLE_THREADED_BENCHMARK()` macro.

I chose to use a flag here so that other options could be added in the
future.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Correctly Run Multiple Benchmarks in the Same File (#98467)</title>
<updated>2024-07-11T11:58:10+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-07-11T11:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=eeed5896deed205997bd3cfc70b5bf134017c694'/>
<id>eeed5896deed205997bd3cfc70b5bf134017c694</id>
<content type='text'>
There was previously an issue where registering multiple benchmarks in
the same file would only give the results for the last benchmark to run.
This PR fixes the issue.

@jhuber6</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was previously an issue where registering multiple benchmarks in
the same file would only give the results for the last benchmark to run.
This PR fixes the issue.

@jhuber6</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] NVPTX Profiling (#92009)</title>
<updated>2024-06-26T21:38:39+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-06-26T21:38:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=02b57dedb73134bc81f09e2ff3c56e286091ba13'/>
<id>02b57dedb73134bc81f09e2ff3c56e286091ba13</id>
<content type='text'>
PR for adding microbenchmarking infrastructure for NVPTX. `nvlink`
cannot perform LTO, so we cannot inline `libc` functions and this
function call overhead is not adjusted for during microbenchmarking.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR for adding microbenchmarking infrastructure for NVPTX. `nvlink`
cannot perform LTO, so we cannot inline `libc` functions and this
function call overhead is not adjusted for during microbenchmarking.</pre>
</div>
</content>
</entry>
</feed>
