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.
This commit is contained in:
Thomas Watson 2022-10-21 21:27:08 -05:00
parent c5432c121e
commit 4784cdb28b

View File

@ -54,6 +54,8 @@ in
src = "${src}/cuTENSOR";
buildInputs = [ cutensor ];
cmakeFlags = [
"-DCUTENSOR_EXAMPLE_BINARY_INSTALL_DIR=${builtins.placeholder "out"}/bin"
];