vbinary and vunary microkernels assert pointers are not NULL
PiperOrigin-RevId: 319614242
diff --git a/src/f32-vbinary/vop-avx512f.c.in b/src/f32-vbinary/vop-avx512f.c.in
index fcde413..a924ec8 100644
--- a/src/f32-vbinary/vop-avx512f.c.in
+++ b/src/f32-vbinary/vop-avx512f.c.in
@@ -37,6 +37,9 @@
{
assert(n != 0);
assert(n % sizeof(float) == 0);
+ assert(a != NULL);
+ assert(b != NULL);
+ assert(y != NULL);
$if ACTIVATION == "MINMAX":
const __m512 vy_min = _mm512_broadcast_f32x4(_mm_load_ps(params->sse.min));