gpu: initialize project

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-06 15:15:16 -07:00 committed by Stephen Gutekanst
parent 1a2596ecf0
commit 376311cf16
9 changed files with 293 additions and 0 deletions

10
gpu/src/main.zig Normal file
View file

@ -0,0 +1,10 @@
const std = @import("std");
const testing = std.testing;
export fn add(a: i32, b: i32) i32 {
return a + b;
}
test "basic add functionality" {
try testing.expect(add(3, 7) == 10);
}