dlib 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Changes.md +6 -0
- data/ext/dlib/cuda.inc +3 -3
- data/lib/dlib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16ec5cb3e144dceee785491bc5d73cbaa957ff76
|
4
|
+
data.tar.gz: d033ea1c30a2f06cfcedab280c26c0704d202fcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9b363bd5bb8df95b9439e931d747abe8113a7b6db7e956d0c62ac68c1066d406352dbbb42836d830c7e50319c4f042a1ad2ab28502f02cadb90de2d1212b1d3
|
7
|
+
data.tar.gz: 1b3dddcb04038cbdd2c4fb9439dca38504f653d893e1e2ce733d388a091107fba0541e6b433c3fad5967bf270948ee58b26dc0dca2a90c0aafa6962a81b9cdde
|
data/.gitignore
CHANGED
data/Changes.md
CHANGED
data/ext/dlib/cuda.inc
CHANGED
@@ -69,13 +69,13 @@ Init_dlib_cuda()
|
|
69
69
|
|
70
70
|
eDlibCudaNotAvailableError = rb_define_class_under(cDlibCuda, "CudaNotAvailableError", eDlibError);
|
71
71
|
|
72
|
-
rb_define_singleton_method(cDlibCuda, "
|
72
|
+
rb_define_singleton_method(cDlibCuda, "available?", RUBY_METHOD_FUNC(dlib_rb_cuda_check_availability), 0);
|
73
73
|
|
74
74
|
rb_define_singleton_method(cDlibCuda, "set_device", RUBY_METHOD_FUNC(dlib_rb_cuda_set_device), 1);
|
75
|
-
|
75
|
+
|
76
76
|
rb_define_singleton_method(cDlibCuda, "get_device", RUBY_METHOD_FUNC(dlib_rb_cuda_get_device), 0);
|
77
77
|
|
78
78
|
rb_define_singleton_method(cDlibCuda, "get_device_name", RUBY_METHOD_FUNC(dlib_rb_cuda_get_device_name), 1);
|
79
|
-
|
79
|
+
|
80
80
|
rb_define_singleton_method(cDlibCuda, "get_num_devices", RUBY_METHOD_FUNC(dlib_rb_cuda_get_num_devices), 0);
|
81
81
|
}
|
data/lib/dlib/version.rb
CHANGED