Skip to content

Instantly share code, notes, and snippets.

@vadixidav
Created February 8, 2016 14:48
Show Gist options
  • Select an option

  • Save vadixidav/aab0ca04589348df3597 to your computer and use it in GitHub Desktop.

Select an option

Save vadixidav/aab0ca04589348df3597 to your computer and use it in GitHub Desktop.
Compiling collenchyma-nn v0.2.1
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:126:132: 126:148 error: mismatched types:
expected `*mut cudnn_sys::Struct_cudnnConvolutionStruct`,
found `*mut cudnn_sys::Struct_cudnnTensorStruct`
(expected enum `cudnn_sys::Struct_cudnnConvolutionStruct`,
found enum `cudnn_sys::Struct_cudnnTensorStruct`) [E0308]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:126 let workspace_size_fwd = API::get_convolution_forward_workspace_size(*CUDNN.id_c(), algo_fwd, *filter_desc.id_c(), *src_desc.id_c(), *conv_desc.id_c(), *dest_desc.id_c()).unwrap();
^~~~~~~~~~~~~~~~
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:126:132: 126:148 help: run `rustc --explain E0308` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:126:150: 126:167 error: mismatched types:
expected `*mut cudnn_sys::Struct_cudnnTensorStruct`,
found `*mut cudnn_sys::Struct_cudnnConvolutionStruct`
(expected enum `cudnn_sys::Struct_cudnnTensorStruct`,
found enum `cudnn_sys::Struct_cudnnConvolutionStruct`) [E0308]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:126 let workspace_size_fwd = API::get_convolution_forward_workspace_size(*CUDNN.id_c(), algo_fwd, *filter_desc.id_c(), *src_desc.id_c(), *conv_desc.id_c(), *dest_desc.id_c()).unwrap();
^~~~~~~~~~~~~~~~~
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:126:150: 126:167 help: run `rustc --explain E0308` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:142:142: 142:158 error: mismatched types:
expected `*mut cudnn_sys::Struct_cudnnConvolutionStruct`,
found `*mut cudnn_sys::Struct_cudnnTensorStruct`
(expected enum `cudnn_sys::Struct_cudnnConvolutionStruct`,
found enum `cudnn_sys::Struct_cudnnTensorStruct`) [E0308]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:142 let workspace_size_bwd = API::get_convolution_backward_data_workspace_size(*CUDNN.id_c(), algo_bwd, *filter_desc.id_c(), *src_desc.id_c(), *conv_desc.id_c(), *dest_desc.id_c()).unwrap();
^~~~~~~~~~~~~~~~
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:142:142: 142:158 help: run `rustc --explain E0308` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:142:160: 142:177 error: mismatched types:
expected `*mut cudnn_sys::Struct_cudnnTensorStruct`,
found `*mut cudnn_sys::Struct_cudnnConvolutionStruct`
(expected enum `cudnn_sys::Struct_cudnnTensorStruct`,
found enum `cudnn_sys::Struct_cudnnConvolutionStruct`) [E0308]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:142 let workspace_size_bwd = API::get_convolution_backward_data_workspace_size(*CUDNN.id_c(), algo_bwd, *filter_desc.id_c(), *src_desc.id_c(), *conv_desc.id_c(), *dest_desc.id_c()).unwrap();
^~~~~~~~~~~~~~~~~
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:142:160: 142:177 help: run `rustc --explain E0308` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:149:13: 153:14 error: this function takes 11 parameters but 9 parameters were supplied [E0061]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:149 ::cudnn::utils::ConvolutionConfig::new(
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:150 algo_fwd, workspace_fwd, workspace_size_fwd,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:151 algo_bwd, workspace_bwd, workspace_size_bwd,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:152 conv_desc, filter_desc, filter.remove_copy(self.device()).unwrap().into_cuda().unwrap()
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:153 )
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:149:13: 153:14 help: run `rustc --explain E0061` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:398:33: 405:14 error: this function takes 7 parameters but 6 parameters were supplied [E0061]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:398 Ok(try!(match CUDNN.convolution_forward(
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:399 config,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:400 &try!(x.cudnn_tensor_desc()), // src_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:401 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr(x, self.device()) }), //src_data
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:402 &try!(result.cudnn_tensor_desc()), // dest_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:403 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr_mut(result, self.device()) }), // dest_data
...
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:398:16: 411:15 note: in this expansion of try! (defined in <std macros>)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:157:5: 157:51 note: in this expansion of impl_ops_convolution_for! (defined in /home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:398:33: 405:14 help: run `rustc --explain E0061` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:422:33: 429:14 error: this function takes 7 parameters but 6 parameters were supplied [E0061]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:422 Ok(try!(match CUDNN.convolution_forward(
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:423 config,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:424 &try!(x.cudnn_tensor_desc()), // src_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:425 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr(x, self.device()) }), //src_data
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:426 &try!(result.cudnn_tensor_desc()), // dest_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:427 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr_mut(result, self.device()) }), // dest_data
...
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:422:16: 435:15 note: in this expansion of try! (defined in <std macros>)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:157:5: 157:51 note: in this expansion of impl_ops_convolution_for! (defined in /home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:422:33: 429:14 help: run `rustc --explain E0061` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:451:33: 458:14 error: no method named `convolution_backward` found for type `frameworks::cuda::CUDNN` in the current scope
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:451 Ok(try!(match CUDNN.convolution_backward(
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:452 config,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:453 &try!(x_diff.cudnn_tensor_desc()), // src_diff_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:454 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr(x_diff, self.device()) }), //src_diff_data
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:455 &try!(result_diff.cudnn_tensor_desc()), // dest_diff_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:456 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr_mut(result_diff, self.device()) }), // dest_diff_data
...
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:451:16: 464:15 note: in this expansion of try! (defined in <std macros>)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:157:5: 157:51 note: in this expansion of impl_ops_convolution_for! (defined in /home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:478:33: 485:14 error: no method named `convolution_backward` found for type `frameworks::cuda::CUDNN` in the current scope
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:478 Ok(try!(match CUDNN.convolution_backward(
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:479 config,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:480 &try!(x_diff.cudnn_tensor_desc()), // src_diff_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:481 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr(x_diff, self.device()) }), //src_diff_data
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:482 &try!(result_diff.cudnn_tensor_desc()), // dest_diff_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:483 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr_mut(result_diff, self.device()) }), // dest_diff_data
...
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:478:16: 491:15 note: in this expansion of try! (defined in <std macros>)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:157:5: 157:51 note: in this expansion of impl_ops_convolution_for! (defined in /home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:200:132: 200:148 error: mismatched types:
expected `*mut cudnn_sys::Struct_cudnnConvolutionStruct`,
found `*mut cudnn_sys::Struct_cudnnTensorStruct`
(expected enum `cudnn_sys::Struct_cudnnConvolutionStruct`,
found enum `cudnn_sys::Struct_cudnnTensorStruct`) [E0308]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:200 let workspace_size_fwd = API::get_convolution_forward_workspace_size(*CUDNN.id_c(), algo_fwd, *filter_desc.id_c(), *src_desc.id_c(), *conv_desc.id_c(), *dest_desc.id_c()).unwrap();
^~~~~~~~~~~~~~~~
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:200:132: 200:148 help: run `rustc --explain E0308` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:200:150: 200:167 error: mismatched types:
expected `*mut cudnn_sys::Struct_cudnnTensorStruct`,
found `*mut cudnn_sys::Struct_cudnnConvolutionStruct`
(expected enum `cudnn_sys::Struct_cudnnTensorStruct`,
found enum `cudnn_sys::Struct_cudnnConvolutionStruct`) [E0308]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:200 let workspace_size_fwd = API::get_convolution_forward_workspace_size(*CUDNN.id_c(), algo_fwd, *filter_desc.id_c(), *src_desc.id_c(), *conv_desc.id_c(), *dest_desc.id_c()).unwrap();
^~~~~~~~~~~~~~~~~
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:200:150: 200:167 help: run `rustc --explain E0308` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:216:142: 216:158 error: mismatched types:
expected `*mut cudnn_sys::Struct_cudnnConvolutionStruct`,
found `*mut cudnn_sys::Struct_cudnnTensorStruct`
(expected enum `cudnn_sys::Struct_cudnnConvolutionStruct`,
found enum `cudnn_sys::Struct_cudnnTensorStruct`) [E0308]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:216 let workspace_size_bwd = API::get_convolution_backward_data_workspace_size(*CUDNN.id_c(), algo_bwd, *filter_desc.id_c(), *src_desc.id_c(), *conv_desc.id_c(), *dest_desc.id_c()).unwrap();
^~~~~~~~~~~~~~~~
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:216:142: 216:158 help: run `rustc --explain E0308` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:216:160: 216:177 error: mismatched types:
expected `*mut cudnn_sys::Struct_cudnnTensorStruct`,
found `*mut cudnn_sys::Struct_cudnnConvolutionStruct`
(expected enum `cudnn_sys::Struct_cudnnTensorStruct`,
found enum `cudnn_sys::Struct_cudnnConvolutionStruct`) [E0308]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:216 let workspace_size_bwd = API::get_convolution_backward_data_workspace_size(*CUDNN.id_c(), algo_bwd, *filter_desc.id_c(), *src_desc.id_c(), *conv_desc.id_c(), *dest_desc.id_c()).unwrap();
^~~~~~~~~~~~~~~~~
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:216:160: 216:177 help: run `rustc --explain E0308` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:223:13: 227:14 error: this function takes 11 parameters but 9 parameters were supplied [E0061]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:223 ::cudnn::utils::ConvolutionConfig::new(
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:224 algo_fwd, workspace_fwd, workspace_size_fwd,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:225 algo_bwd, workspace_bwd, workspace_size_bwd,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:226 conv_desc, filter_desc, filter.remove_copy(self.device()).unwrap().into_cuda().unwrap()
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:227 )
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:223:13: 227:14 help: run `rustc --explain E0061` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:398:33: 405:14 error: this function takes 7 parameters but 6 parameters were supplied [E0061]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:398 Ok(try!(match CUDNN.convolution_forward(
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:399 config,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:400 &try!(x.cudnn_tensor_desc()), // src_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:401 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr(x, self.device()) }), //src_data
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:402 &try!(result.cudnn_tensor_desc()), // dest_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:403 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr_mut(result, self.device()) }), // dest_data
...
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:398:16: 411:15 note: in this expansion of try! (defined in <std macros>)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:231:5: 231:51 note: in this expansion of impl_ops_convolution_for! (defined in /home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:398:33: 405:14 help: run `rustc --explain E0061` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:422:33: 429:14 error: this function takes 7 parameters but 6 parameters were supplied [E0061]
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:422 Ok(try!(match CUDNN.convolution_forward(
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:423 config,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:424 &try!(x.cudnn_tensor_desc()), // src_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:425 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr(x, self.device()) }), //src_data
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:426 &try!(result.cudnn_tensor_desc()), // dest_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:427 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr_mut(result, self.device()) }), // dest_data
...
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:422:16: 435:15 note: in this expansion of try! (defined in <std macros>)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:231:5: 231:51 note: in this expansion of impl_ops_convolution_for! (defined in /home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:422:33: 429:14 help: run `rustc --explain E0061` to see a detailed explanation
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:451:33: 458:14 error: no method named `convolution_backward` found for type `frameworks::cuda::CUDNN` in the current scope
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:451 Ok(try!(match CUDNN.convolution_backward(
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:452 config,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:453 &try!(x_diff.cudnn_tensor_desc()), // src_diff_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:454 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr(x_diff, self.device()) }), //src_diff_data
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:455 &try!(result_diff.cudnn_tensor_desc()), // dest_diff_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:456 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr_mut(result_diff, self.device()) }), // dest_diff_data
...
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:451:16: 464:15 note: in this expansion of try! (defined in <std macros>)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:231:5: 231:51 note: in this expansion of impl_ops_convolution_for! (defined in /home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:478:33: 485:14 error: no method named `convolution_backward` found for type `frameworks::cuda::CUDNN` in the current scope
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:478 Ok(try!(match CUDNN.convolution_backward(
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:479 config,
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:480 &try!(x_diff.cudnn_tensor_desc()), // src_diff_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:481 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr(x_diff, self.device()) }), //src_diff_data
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:482 &try!(result_diff.cudnn_tensor_desc()), // dest_diff_desc
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:483 try!(unsafe { ::frameworks::cuda::helper::receive_memory_ptr_mut(result_diff, self.device()) }), // dest_diff_data
...
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs:478:16: 491:15 note: in this expansion of try! (defined in <std macros>)
/home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/mod.rs:231:5: 231:51 note: in this expansion of impl_ops_convolution_for! (defined in /home/vadix/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.2.1/src/frameworks/cuda/helper.rs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment