dlib 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5732ed892e7a16695f3cfbb599b547de3f26854
4
- data.tar.gz: d4711fbcd095452b4feadd803ab1cc05489fb55b
3
+ metadata.gz: ed5064d7364d2b0d3eb4f413482f19712a652a6c
4
+ data.tar.gz: d4733fec6407c546a27b86ad47b18956ea9d9dbc
5
5
  SHA512:
6
- metadata.gz: d2d7cf2af1544fe19b48b09df5b8275751857c0f4d3a1c33496904d5eaa6b79008eb111e31dab59e1126e7ba2fe2e198decdc04ab03a3f7a9adc2e54b31c0b6d
7
- data.tar.gz: 896a219c1a1667ffdd8c507106261e1335e94c01ad51464fa2f8b5a6027d37735d60d006e3702398fbcdff283c6bbde8c38374cdc1756a99d987d2a60e61b90c
6
+ metadata.gz: b08bdd23d392432440485c1797b64fd948f28b53c829b690c31bf78d9700d3a649ba788ca8fe6af7e68e8b86f0feb2b0088fbf5b4b4b1d5e13171011a13dcfe2
7
+ data.tar.gz: 8ad4aa40343efff9ad826e2e48852be90d1ba80f6772c4f7975d9a4e4b9e2f6bbab1a0c8532cb205c98712d359f579898164b728628edd41629b3c3aecb6794b
data/Changes.md CHANGED
@@ -3,6 +3,12 @@
3
3
  At first, you can see original Release notes.
4
4
  http://dlib.net/release_notes.html
5
5
 
6
+ ## 1.2.1 (use dlib 19.4)
7
+
8
+ ### Bug fixes
9
+
10
+ * Fixed build issue on the latest Deep Learning AMI for Ubuntu 16.04 on AWS
11
+
6
12
  ## 1.2.0 (use dlib 19.4)
7
13
 
8
14
  ### New Features
data/ext/dlib/depend CHANGED
@@ -9,11 +9,11 @@ DLIB_FUNCTIONS = \
9
9
  cuda.inc
10
10
  OBJS += $(DLIB_OJBS)
11
11
 
12
- NVCC_RESULT := $(shell which nvcc 2> NULL)
12
+ NVCC_RESULT := $(shell which nvcc 2> /dev/null)
13
13
  NVCC_TEST := $(notdir $(NVCC_RESULT))
14
14
  ifeq ($(NVCC_TEST),nvcc)
15
15
  CUDA_NVCC = nvcc
16
- CUDA_FLAGS = $(CPPFLAGS) -I /usr/local/cuda/include -arch=sm_30 -D__STRICT_ANSI__ -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -std=c++11 -Xcompiler -fPIC -Xcompiler -funwind-tables
16
+ CUDA_FLAGS = -DDLIB_USE_CUDA -I /usr/local/cuda/include -arch=sm_30 -D__STRICT_ANSI__ -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -std=c++11 -Xcompiler -fPIC -Xcompiler -funwind-tables
17
17
  DLIB_CUDA_SRCS = $(DLIB_SRCDIR)/dlib/dnn/curand_dlibapi.cpp \
18
18
  $(DLIB_SRCDIR)/dlib/dnn/cudnn_dlibapi.cpp \
19
19
  $(DLIB_SRCDIR)/dlib/dnn/cublas_dlibapi.cpp \
@@ -33,7 +33,7 @@ OBJS += $(DLIB_CUDA_OBJS)
33
33
 
34
34
  .SUFFIXES: .c .m .cc .mm .cxx .cpp .o .S .cu
35
35
  .cu.o:
36
- $(ECHO) compiling $@
36
+ $(ECHO) compiling $(<)
37
37
  $(Q) $(CUDA_NVCC) $(CUDA_FLAGS) -c -o $@ $<
38
38
  endif
39
39
 
data/ext/dlib/extconf.rb CHANGED
@@ -25,6 +25,7 @@ $ARCH_FLAG = '-march=native'
25
25
 
26
26
  use_cuda = File.exist?('/usr/local/cuda/lib64/libcudart.so')
27
27
  if use_cuda
28
+ puts "Use CUDA"
28
29
  $defs << '-DDLIB_USE_CUDA'
29
30
  $CPPFLAGS << " -I/usr/local/cuda/include"
30
31
  $LIBS << " -lcudart -lcurand -lcublas -lcudnn"
data/lib/dlib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dlib
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenta Murata
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-04-05 00:00:00.000000000 Z
12
+ date: 2017-09-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -3558,7 +3558,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3558
3558
  version: '0'
3559
3559
  requirements: []
3560
3560
  rubyforge_project:
3561
- rubygems_version: 2.4.6
3561
+ rubygems_version: 2.6.11
3562
3562
  signing_key:
3563
3563
  specification_version: 4
3564
3564
  summary: Ruby bindings of dlib C++ library.