Probably because the hardware is language agnostic. You would consider how the hardware works no matter if you were using GLSL (GL's shader language), HLSL (D3D's shader language), OpenCL (Compute sister language to GL/GLSL), DirectCompute (Compute sister language to D3D/HLSL), or CUDA.