CUDA and C system header files integration

Hi to all !

I just started to learn CUDA programming infrastructure and its bindings to NVIDIA Graphics card. After getting some knowledge of programming interface, one thing came into my mind that either there is any possibility to include C header files in CUDA language or if will be more specific then system header file for example controlling peripherals of computer.

If anyone know about this, kindly do share…

Looking for responses,

You can include system header files in a .cu file, but you cannot call system functions from a device or global function. You can only call system functions from host code (like you would in a normal program).