How to use header files on the GPU?

Is there any possible way to use functions and classes from header files on the GPU? If not is there any alternatives? For example I was using vectors then I switched to pointer arrays. but now what about “complex”, is there any alternative for that or a way to use it on the GPU?