ILGPU icon indicating copy to clipboard operation
ILGPU copied to clipboard

[BUG] Cuda 12 SDK not supported with ILGPU 1.5.X

Open m4rs-mt opened this issue 10 months ago • 1 comments

Describe the bug

Our latest stable release does not support Cuda 12 SDK which causes issues with Blas in certain cases.

Environment

  • ILGPU version: 1.5.1
  • .NET version: .Net6
  • Operating system: Ubuntu 22.04

Steps to reproduce

Run any ILGPU program using CuBlas on a platform with Cuda 12.

Expected behavior

Cuda 12 should be supported by ILGPU v1.5.X.

Additional context

No response

m4rs-mt avatar Apr 18 '24 08:04 m4rs-mt

I have setup a Ubuntu 22.04 LTS VM, and installed Cuda SDK 12.4 Update 1.

In /usr/local/cuda/lib64, I found a symlink for libcublas.so.12, which is the correct naming that is used in ILGPU.Algorithms in ILGPU v.1.5.x.

We are also using [DefaultDllImportSearchPaths(DllImportSearchPath.LegacyBehavior)] on the Native Interop.

@m4rs-mt Can you provide more details on the issue with CuBlas?

Unfortunately, I do not have access to a Ubuntu machine with an Nvidia card, so am not able to test running on the GPU itself.

MoFtZ avatar Apr 18 '24 23:04 MoFtZ

This issue has been resolved.

m4rs-mt avatar May 03 '24 11:05 m4rs-mt