ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
kernel_compat.h File Reference

Device-side kernel compatibility polyfills for older GPU architectures. More...

Go to the source code of this file.

Detailed Description

Device-side kernel compatibility polyfills for older GPU architectures.

This is a lightweight header (no heavy includes) for GPU kernel device-side compatibility code. Include this header in .cu/.hip.cu files that need legacy GPU support.

Note: The existing cuda_compat.h is for host-side CUDA compatibility (NVTX, deprecated APIs, cuFFT) and includes heavy headers, so we keep this separate.