Thanks a lot, hadn’t noticed that define. Does that apply to header only functions? It looks perhaps not as PackedTensorAccessor is not declared with that but I gather is public API. So then it’s a little unclear if CUDA_tensor_apply is intended to be private or not.