Commit 4784cdb2 authored by Thomas Watson's avatar Thomas Watson
Browse files

cuda-library-samples.cutensor: fix

Previously, the cutensor samples could not find the libcutensor.so.1
shared library at runtime. This patch adds cutensor as a buildInput so
the shared library is linked in properly.
parent c5432c12
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,8 @@ in

    src = "${src}/cuTENSOR";

    buildInputs = [ cutensor ];

    cmakeFlags = [
      "-DCUTENSOR_EXAMPLE_BINARY_INSTALL_DIR=${builtins.placeholder "out"}/bin"
    ];