<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cpu on ./Code</title><link>https://blog.ouankou.com/tags/cpu/</link><description>Recent content in Cpu on ./Code</description><generator>Hugo</generator><language>en-US</language><copyright>© Anjia Wang</copyright><lastBuildDate>Wed, 15 Apr 2026 15:24:20 -0700</lastBuildDate><atom:link href="https://blog.ouankou.com/tags/cpu/index.xml" rel="self" type="application/rss+xml"/><item><title>How REX Proves Lowered OpenMP Semantics With CPU Equivalence Tests</title><link>https://blog.ouankou.com/2026/04/01/how-rex-proves-lowered-openmp-semantics-with-cpu-equivalence-tests/</link><pubDate>Wed, 01 Apr 2026 00:00:00 +0000</pubDate><guid>https://blog.ouankou.com/2026/04/01/how-rex-proves-lowered-openmp-semantics-with-cpu-equivalence-tests/</guid><description>&lt;p&gt;The previous post in this series focused on &lt;code&gt;lowering_rodinia&lt;/code&gt;: reduced Rodinia-like inputs, stable invariants, and why GPU lowering should be tested on structural facts instead of brittle full-file snapshots.&lt;/p&gt;
&lt;p&gt;That leaves one obvious gap.&lt;/p&gt;
&lt;p&gt;Structural correctness is necessary, but it is not enough.&lt;/p&gt;
&lt;p&gt;A lowerer can still emit the right number of kernels, the right runtime include, the right helper ordering, and the right launch API shape while changing the program’s meaning. A broken reduction, a misplaced barrier, or an incorrect &lt;code&gt;if&lt;/code&gt; plus &lt;code&gt;num_threads&lt;/code&gt; interaction will not necessarily show up in a structural verifier. It will show up when the transformed program actually runs.&lt;/p&gt;</description></item></channel></rss>