Yes, only on linux. The principal use that I know of for those in a CUBLAS context is for static linking to CUBLAS, and static linking to CUBLAS is only supported on linux. For what you have shown here (-lcublas
) they should not be needed anyway.