aboutsummaryrefslogtreecommitdiff
path: root/compute_kernel_writer/include/ckw/TensorInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'compute_kernel_writer/include/ckw/TensorInfo.h')
-rw-r--r--compute_kernel_writer/include/ckw/TensorInfo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/compute_kernel_writer/include/ckw/TensorInfo.h b/compute_kernel_writer/include/ckw/TensorInfo.h
index b5f76cffa5..44846bc94c 100644
--- a/compute_kernel_writer/include/ckw/TensorInfo.h
+++ b/compute_kernel_writer/include/ckw/TensorInfo.h
@@ -86,6 +86,16 @@ enum class TensorComponent : uint32_t
Dim1xDim2xDim3 = 0x08001110
};
+/** Compute Kernel Writer tensor storage. The tensor storage represents the type of tensor memory object.
+ */
+enum class TensorStorage : uint32_t
+{
+ Unknown = 0x00000000,
+ BufferUint8Ptr = 0x01000000,
+ Texture2dReadOnly = 0x02000001,
+ Texture2dWriteOnly = 0x02000010,
+};
+
/** Compute Kernel Writer tensor shape
* Negative dimensions can be interpreted as dynamic dimensions by the Compute Kernel Writer
*/