Why is it written in C language when Python Pycuda is developed? Is it impossible in other languages?

Asked 2 years ago, Updated 2 years ago, 108 views

I am studying pycuda in Python.

During the development of pycuda, it was written in C language within the kernel function like C language-based cuda Is it because the Nvidia graphics card works based on standard c?

Is it impossible to write in another language?

python cuda

2022-09-20 15:39

1 Answers

The data passed to the graphics card goes through a series of rendering pipelines by the GPU. The language that defines this process is called shader language.

Representative shader languages such as HLSL, GLSL, Cg, and MSL are based on C/C++.


2022-09-20 15:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.