From b3e0b0d491c55bfdc1c40d26a421910103c1b9f2 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 28 Jan 2020 12:41:09 -0500 Subject: Synthesizing CUDA tests (#1183) * When using setUniform clamp the amount of data written to the buffer size. * CUDA implement StructuredBuffer/ByteAddressBuffer as pointer/count as is on CPU. Allow bounds check to zero index. Update docs. * Synthesize tests. * Fix bug in CUDA output. * Fixing more tests to run on CUDA. * Added BaseType for layout of Vector and Matrix - as they are held as int32_t vector array types. * Enable unbound array support on CUDA. * Added unsized array support for CUDA documentation. --- tests/compute/buffer-layout.slang.4.expected.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/compute/buffer-layout.slang.4.expected.txt (limited to 'tests') diff --git a/tests/compute/buffer-layout.slang.4.expected.txt b/tests/compute/buffer-layout.slang.4.expected.txt new file mode 100644 index 000000000..4fcded8c6 --- /dev/null +++ b/tests/compute/buffer-layout.slang.4.expected.txt @@ -0,0 +1,4 @@ +13080308 +23080308 +33080308 +43080308 -- cgit v1.2.3