From f38b8a8e63387ddc576c5606ef9a620a6e93ceb5 Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Mon, 6 May 2024 10:58:00 -0700 Subject: [PATCH] Fixes uninitialized typenum constants in dpctl_capi --- dpctl/apis/include/dpctl4pybind11.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dpctl/apis/include/dpctl4pybind11.hpp b/dpctl/apis/include/dpctl4pybind11.hpp index 830cc82078..4e0cbe1986 100644 --- a/dpctl/apis/include/dpctl4pybind11.hpp +++ b/dpctl/apis/include/dpctl4pybind11.hpp @@ -331,6 +331,8 @@ class dpctl_capi this->USM_ARRAY_F_CONTIGUOUS_ = USM_ARRAY_F_CONTIGUOUS; this->USM_ARRAY_WRITABLE_ = USM_ARRAY_WRITABLE; this->UAR_BOOL_ = UAR_BOOL; + this->UAR_BYTE_ = UAR_BYTE; + this->UAR_UBYTE_ = UAR_UBYTE; this->UAR_SHORT_ = UAR_SHORT; this->UAR_USHORT_ = UAR_USHORT; this->UAR_INT_ = UAR_INT;