Updating inherited CUDA code to use thrust pinned memory

Hi

I just started a new job and need to update some inherited code that was developed a few years ago that uses pinned memory allocated by thrust through statements such as:
include <thrust/system/cuda/experimental/pinned_allocator.h>

std::vector<float, thrust::system::cuda::experimental::pinned_allocator> xH;

xH.resize(_number, 0);

For CUDA 12.3 statements like these do not compile.

What should the iinclude statement be, and what should the declaration be for CUDA 12.3?

Internet suggests using a universal allocator.

Thanks in advance