11 lines
312 B
Plaintext
11 lines
312 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
kernel void f() {
|
|
half4x2 const a = half4x2(half2(-1.0h, -2.0h), half2(-3.0h, -4.0h), half2(-5.0h, -6.0h), half2(-7.0h, -8.0h));
|
|
half2x4 const b = half2x4(half4(1.0h, 2.0h, 3.0h, 4.0h), half4(5.0h, 6.0h, 7.0h, 8.0h));
|
|
half2x2 const r = (a * b);
|
|
return;
|
|
}
|
|
|