From a55c851eaa4ded60d5f62aba1d7da850a63163f3 Mon Sep 17 00:00:00 2001 From: Andrzej Janik Date: Thu, 15 Apr 2021 20:01:01 +0200 Subject: [PATCH] Add comment --- ptx/src/ast.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ptx/src/ast.rs b/ptx/src/ast.rs index 6a01a6a..3e62cb1 100644 --- a/ptx/src/ast.rs +++ b/ptx/src/ast.rs @@ -284,6 +284,7 @@ pub enum PointerType { Scalar(ScalarType), Vector(ScalarType, u8), Array(ScalarType, VecU32), + // Instances of this variant are generated during stateful conversion Pointer(ScalarType, LdStateSpace), } @@ -1141,7 +1142,7 @@ impl<'a> NumsOrArrays<'a> { ScalarType::F64 => { Self::parse_and_copy_single_t::(idx, str_val, radix, output)?; } - ScalarType::Pred => todo!() + ScalarType::Pred => todo!(), } Ok(()) }