Skip to content

Commit

Permalink
fix linux cuda broken in 1.7.1 (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
jettoblack authored Oct 27, 2024
1 parent abc342a commit f896b88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void Dispose()

internal class DllImportNativeLibcuda : INativeCuda
{
public const string LibraryName = "libcudart";
public const string LibraryName = "libcudart.so";

[DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)]
private static extern int cudaGetDeviceCount(out int count);
Expand Down

0 comments on commit f896b88

Please sign in to comment.