From: nathan-bossart (@nathan-bossart) <noreply+nathan-bossart@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #531: Add AVX-512 FP16 implementation of halfvec distance functions
Date: Wed, 24 Apr 2024 16:28:26 +0000
Message-ID: <gh-pgvector-pgvector-531-rc1578194028@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-531@github.com>
References: <gh-pgvector-pgvector-531@github.com>
(on src/halfutils.c)
I think this is missing a couple steps, such as checking for osxsave and verifying the ZMM registers are enabled. See `SupportsAvx512Popcount()` for an example.