From a188c5b65e8a1f2ece264dc0dd7b0aa39de1d785 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 26 Jul 2024 06:17:00 -0500 Subject: [PATCH] hex.cl: make the lut square --- sample-code/hex.cl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sample-code/hex.cl b/sample-code/hex.cl index 0c58930..ebf0d28 100644 --- a/sample-code/hex.cl +++ b/sample-code/hex.cl @@ -3,7 +3,10 @@ mod math; // TODO: casting and/or conversion const HEX_LUT: Array = [ - '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', + '0', '1', '2', '3', // + '4', '5', '6', '7', // + '8', '9', 'a', 'b', // + 'c', 'd', 'e', 'f', // ]; pub fn hex(n: u64) {