Skip to content
This repository was archived by the owner on Feb 1, 2020. It is now read-only.

Commit 76b763b

Browse files
committed
fix/test: link against cudart for cuda allocation
1 parent a8e7c60 commit 76b763b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cudnn/tests/cudnn_specs.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ extern crate libc;
55
extern crate rcudnn_sys as ffi;
66
use ffi::*;
77

8+
#[cfg(test)]
9+
#[link(name = "cudart")]
10+
811
#[cfg(test)]
912
mod cudnn_spec {
1013

0 commit comments

Comments
 (0)