11 lines
151 B
Plaintext
11 lines
151 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
kernel void f() {
|
||
|
half const a = 1.0h;
|
||
|
half const b = 2.0h;
|
||
|
half const r = (a + b);
|
||
|
return;
|
||
|
}
|
||
|
|