Programming CUDA using Delphi or FreePascal

后端 未结 4 1138
攒了一身酷
攒了一身酷 2020-12-19 08:18

Can I create CUDA/OpenCL applications using Delphi or FreePascal?
Or am I forced to use C++ and Visual Studio?

A quick search: cuda + pascal

Turns up som

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-19 08:21

    You will need to write the actual CUDA kernels in C / C++. There is no other way. Unless Pascal can be extended with C or can link against C/C++ libraries, (which I asusme it does from the link you mentioned), I do not think there is any other way.

提交回复
热议问题