sgc-ruby-cuda 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/.yardopts +2 -0
  2. data/COPYING +674 -0
  3. data/README.rdoc +106 -0
  4. data/Rakefile +76 -0
  5. data/doc/devel.rdoc +77 -0
  6. data/doc/features.rdoc +55 -0
  7. data/lib/cuda/driver/context.rb +236 -0
  8. data/lib/cuda/driver/cu.rb +60 -0
  9. data/lib/cuda/driver/device.rb +155 -0
  10. data/lib/cuda/driver/deviceptr.rb +69 -0
  11. data/lib/cuda/driver/error.rb +182 -0
  12. data/lib/cuda/driver/event.rb +124 -0
  13. data/lib/cuda/driver/ffi-cu.rb +620 -0
  14. data/lib/cuda/driver/function.rb +293 -0
  15. data/lib/cuda/driver/init.rb +45 -0
  16. data/lib/cuda/driver/memory.rb +134 -0
  17. data/lib/cuda/driver/module.rb +142 -0
  18. data/lib/cuda/driver/rubycu.rb +37 -0
  19. data/lib/cuda/driver/stream.rb +128 -0
  20. data/lib/cuda/driver/version.rb +42 -0
  21. data/lib/cuda/runtime/cuda.rb +65 -0
  22. data/lib/cuda/runtime/device.rb +175 -0
  23. data/lib/cuda/runtime/error.rb +197 -0
  24. data/lib/cuda/runtime/event.rb +117 -0
  25. data/lib/cuda/runtime/ffi-cuda.rb +588 -0
  26. data/lib/cuda/runtime/function.rb +161 -0
  27. data/lib/cuda/runtime/memory.rb +110 -0
  28. data/lib/cuda/runtime/rubycuda.rb +34 -0
  29. data/lib/cuda/runtime/stream.rb +126 -0
  30. data/lib/cuda/runtime/thread.rb +81 -0
  31. data/lib/cuda/runtime/version.rb +51 -0
  32. data/lib/ffi/prettystruct.rb +32 -0
  33. data/lib/helpers/flags.rb +82 -0
  34. data/lib/helpers/interface/ienum.rb +45 -0
  35. data/lib/helpers/klass.rb +45 -0
  36. data/lib/memory/buffer.rb +125 -0
  37. data/lib/memory/interface/ibuffer.rb +63 -0
  38. data/lib/memory/pointer.rb +72 -0
  39. data/lib/rubycu.rb +1 -0
  40. data/lib/rubycuda.rb +1 -0
  41. data/test/bad.ptx +0 -0
  42. data/test/memory/test_buffer.rb +93 -0
  43. data/test/rubycu/test_cucontext.rb +148 -0
  44. data/test/rubycu/test_cudevice.rb +69 -0
  45. data/test/rubycu/test_cudeviceptr.rb +43 -0
  46. data/test/rubycu/test_cuevent.rb +81 -0
  47. data/test/rubycu/test_cufunction.rb +165 -0
  48. data/test/rubycu/test_cumemory.rb +113 -0
  49. data/test/rubycu/test_cumodule.rb +114 -0
  50. data/test/rubycu/test_custream.rb +77 -0
  51. data/test/rubycu/test_cuversion.rb +39 -0
  52. data/test/rubycu/testbase.rb +107 -0
  53. data/test/rubycuda/test_cudadevice.rb +125 -0
  54. data/test/rubycuda/test_cudaerror.rb +48 -0
  55. data/test/rubycuda/test_cudaevent.rb +78 -0
  56. data/test/rubycuda/test_cudafunction.rb +106 -0
  57. data/test/rubycuda/test_cudamemory.rb +90 -0
  58. data/test/rubycuda/test_cudastream.rb +72 -0
  59. data/test/rubycuda/test_cudathread.rb +69 -0
  60. data/test/rubycuda/test_cudaversion.rb +41 -0
  61. data/test/rubycuda/testbase.rb +67 -0
  62. data/test/vadd.cu +21 -0
  63. data/version.rb +1 -0
  64. metadata +180 -0
@@ -0,0 +1,90 @@
1
+ #-----------------------------------------------------------------------
2
+ # Copyright (c) 2011 Chung Shin Yee
3
+ #
4
+ # shinyee@speedgocomputing.com
5
+ # http://www.speedgocomputing.com
6
+ # http://github.com/xman/sgc-ruby-cuda
7
+ # http://rubyforge.org/projects/rubycuda
8
+ #
9
+ # This file is part of SGC-Ruby-CUDA.
10
+ #
11
+ # SGC-Ruby-CUDA is free software: you can redistribute it and/or modify
12
+ # it under the terms of the GNU General Public License as published by
13
+ # the Free Software Foundation, either version 3 of the License, or
14
+ # (at your option) any later version.
15
+ #
16
+ # SGC-Ruby-CUDA is distributed in the hope that it will be useful,
17
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ # GNU General Public License for more details.
20
+ #
21
+ # You should have received a copy of the GNU General Public License
22
+ # along with SGC-Ruby-CUDA. If not, see <http://www.gnu.org/licenses/>.
23
+ #-----------------------------------------------------------------------
24
+
25
+ require 'test/unit'
26
+ require_relative 'testbase'
27
+
28
+
29
+ class TestCudaMemory < Test::Unit::TestCase
30
+
31
+ include CudaTestBase
32
+
33
+
34
+ def test_cuda_device_memory_malloc_free
35
+ p = CudaDeviceMemory.malloc(1024)
36
+ assert_instance_of(SGC::Memory::MemoryPointer, p)
37
+ r = CudaDeviceMemory.free(p)
38
+ assert_nil(r)
39
+
40
+ p = CudaDeviceMemory.malloc(1024)
41
+ assert_instance_of(SGC::Memory::MemoryPointer, p)
42
+ r = p.free
43
+ assert_nil(r)
44
+ end
45
+
46
+
47
+ def test_memory_copy
48
+ size = 16
49
+ type = :int
50
+ nbytes = size*Buffer.element_size(type)
51
+
52
+ a = Buffer.new(type, size)
53
+ b = Buffer.new(type, size)
54
+ c = Buffer.new(type, size)
55
+ d = Buffer.new(type, size)
56
+ p = CudaDeviceMemory.malloc(nbytes)
57
+ q = CudaDeviceMemory.malloc(nbytes)
58
+
59
+ (0...size).each do |i|
60
+ a[i] = 0
61
+ b[i] = 0
62
+ c[i] = 0
63
+ d[i] = 0
64
+ end
65
+
66
+ extend CudaMemory
67
+
68
+ memcpy_htoh(b, a, nbytes)
69
+ (0...size).each do |i|
70
+ assert_equal(a[i], b[i])
71
+ end
72
+
73
+ memcpy_htod(p, b, nbytes)
74
+ memcpy_dtoh(c, p, nbytes)
75
+ (0...size).each do |i|
76
+ assert_equal(b[i], c[i])
77
+ end
78
+
79
+ memcpy_dtod(q, p, nbytes)
80
+ CudaThread.synchronize
81
+ memcpy_dtoh(d, q, nbytes)
82
+ (0...size).each do |i|
83
+ assert_equal(b[i], d[i])
84
+ end
85
+
86
+ CudaDeviceMemory.free(p)
87
+ CudaDeviceMemory.free(q)
88
+ end
89
+
90
+ end
@@ -0,0 +1,72 @@
1
+ #-----------------------------------------------------------------------
2
+ # Copyright (c) 2011 Chung Shin Yee
3
+ #
4
+ # shinyee@speedgocomputing.com
5
+ # http://www.speedgocomputing.com
6
+ # http://github.com/xman/sgc-ruby-cuda
7
+ # http://rubyforge.org/projects/rubycuda
8
+ #
9
+ # This file is part of SGC-Ruby-CUDA.
10
+ #
11
+ # SGC-Ruby-CUDA is free software: you can redistribute it and/or modify
12
+ # it under the terms of the GNU General Public License as published by
13
+ # the Free Software Foundation, either version 3 of the License, or
14
+ # (at your option) any later version.
15
+ #
16
+ # SGC-Ruby-CUDA is distributed in the hope that it will be useful,
17
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ # GNU General Public License for more details.
20
+ #
21
+ # You should have received a copy of the GNU General Public License
22
+ # along with SGC-Ruby-CUDA. If not, see <http://www.gnu.org/licenses/>.
23
+ #-----------------------------------------------------------------------
24
+
25
+ require 'test/unit'
26
+ require_relative 'testbase'
27
+
28
+
29
+ class TestCudaStream < Test::Unit::TestCase
30
+
31
+ include CudaTestBase
32
+
33
+
34
+ def test_stream_create_destroy
35
+ s = CudaStream.create
36
+ assert_instance_of(CudaStream, s)
37
+ r = s.destroy
38
+ assert_nil(r)
39
+ end
40
+
41
+
42
+ def test_stream_query
43
+ s = CudaStream.create
44
+ b = s.query
45
+ assert(b)
46
+ s.destroy
47
+ end
48
+
49
+
50
+ def test_stream_synchronize
51
+ s = CudaStream.create
52
+ r = s.synchronize
53
+ assert_instance_of(CudaStream, r)
54
+ s.destroy
55
+ end
56
+
57
+
58
+ def test_stream_wait_event
59
+ s = CudaStream.create
60
+ e = CudaEvent.create
61
+ s = s.wait_event(e)
62
+ assert_instance_of(CudaStream, s)
63
+ s = s.wait_event(e, 0)
64
+ assert_instance_of(CudaStream, s)
65
+ s.destroy
66
+ s = CudaStream.wait_event(e)
67
+ assert_nil(s)
68
+ s = CudaStream.wait_event(e, 0)
69
+ assert_nil(s)
70
+ end
71
+
72
+ end
@@ -0,0 +1,69 @@
1
+ #-----------------------------------------------------------------------
2
+ # Copyright (c) 2011 Chung Shin Yee
3
+ #
4
+ # shinyee@speedgocomputing.com
5
+ # http://www.speedgocomputing.com
6
+ # http://github.com/xman/sgc-ruby-cuda
7
+ # http://rubyforge.org/projects/rubycuda
8
+ #
9
+ # This file is part of SGC-Ruby-CUDA.
10
+ #
11
+ # SGC-Ruby-CUDA is free software: you can redistribute it and/or modify
12
+ # it under the terms of the GNU General Public License as published by
13
+ # the Free Software Foundation, either version 3 of the License, or
14
+ # (at your option) any later version.
15
+ #
16
+ # SGC-Ruby-CUDA is distributed in the hope that it will be useful,
17
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ # GNU General Public License for more details.
20
+ #
21
+ # You should have received a copy of the GNU General Public License
22
+ # along with SGC-Ruby-CUDA. If not, see <http://www.gnu.org/licenses/>.
23
+ #-----------------------------------------------------------------------
24
+
25
+ require 'test/unit'
26
+ require_relative 'testbase'
27
+
28
+
29
+ class TestCudaThread < Test::Unit::TestCase
30
+
31
+ include CudaTestBase
32
+
33
+
34
+ def test_thread_exit
35
+ r = CudaThread.exit
36
+ assert_equal(CudaThread, r)
37
+ end
38
+
39
+
40
+ def test_thread_cache_config
41
+ if CudaDevice.properties.major >= 2
42
+ CudaFunctionCache.symbols.each do |k|
43
+ CudaThread.cache_config = k
44
+ c = CudaThread.cache_config
45
+ assert_equal(k, c)
46
+ end
47
+ end
48
+ end
49
+
50
+
51
+ def test_thread_limit
52
+ CudaLimit.symbols.each do |k|
53
+ begin
54
+ u = CudaThread.limit(k)
55
+ CudaThread.limit = [k, u]
56
+ v = CudaThread.limit(k)
57
+ assert_equal(u, v)
58
+ rescue CudaUnsupportedLimitError
59
+ end
60
+ end
61
+ end
62
+
63
+
64
+ def test_thread_synchronize
65
+ r = CudaThread.synchronize
66
+ assert_equal(CudaThread, r)
67
+ end
68
+
69
+ end
@@ -0,0 +1,41 @@
1
+ #-----------------------------------------------------------------------
2
+ # Copyright (c) 2011 Chung Shin Yee
3
+ #
4
+ # shinyee@speedgocomputing.com
5
+ # http://www.speedgocomputing.com
6
+ # http://github.com/xman/sgc-ruby-cuda
7
+ # http://rubyforge.org/projects/rubycuda
8
+ #
9
+ # This file is part of SGC-Ruby-CUDA.
10
+ #
11
+ # SGC-Ruby-CUDA is free software: you can redistribute it and/or modify
12
+ # it under the terms of the GNU General Public License as published by
13
+ # the Free Software Foundation, either version 3 of the License, or
14
+ # (at your option) any later version.
15
+ #
16
+ # SGC-Ruby-CUDA is distributed in the hope that it will be useful,
17
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ # GNU General Public License for more details.
20
+ #
21
+ # You should have received a copy of the GNU General Public License
22
+ # along with SGC-Ruby-CUDA. If not, see <http://www.gnu.org/licenses/>.
23
+ #-----------------------------------------------------------------------
24
+
25
+ require 'test/unit'
26
+ require_relative 'testbase'
27
+
28
+
29
+ class TestCudaVersion < Test::Unit::TestCase
30
+
31
+ include CudaTestBase
32
+
33
+
34
+ def test_version
35
+ dv = driver_version
36
+ rv = runtime_version
37
+ assert(dv > 0)
38
+ assert(rv > 0)
39
+ end
40
+
41
+ end
@@ -0,0 +1,67 @@
1
+ #-----------------------------------------------------------------------
2
+ # Copyright (c) 2011 Chung Shin Yee
3
+ #
4
+ # shinyee@speedgocomputing.com
5
+ # http://www.speedgocomputing.com
6
+ # http://github.com/xman/sgc-ruby-cuda
7
+ # http://rubyforge.org/projects/rubycuda
8
+ #
9
+ # This file is part of SGC-Ruby-CUDA.
10
+ #
11
+ # SGC-Ruby-CUDA is free software: you can redistribute it and/or modify
12
+ # it under the terms of the GNU General Public License as published by
13
+ # the Free Software Foundation, either version 3 of the License, or
14
+ # (at your option) any later version.
15
+ #
16
+ # SGC-Ruby-CUDA is distributed in the hope that it will be useful,
17
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ # GNU General Public License for more details.
20
+ #
21
+ # You should have received a copy of the GNU General Public License
22
+ # along with SGC-Ruby-CUDA. If not, see <http://www.gnu.org/licenses/>.
23
+ #-----------------------------------------------------------------------
24
+
25
+ require 'tempfile'
26
+ require 'rubycuda'
27
+
28
+ include SGC::Cuda
29
+ include SGC::Cuda::Error
30
+
31
+
32
+ module CudaTestBase
33
+
34
+ def setup
35
+ CudaDevice.current = ENV['DEVID'].to_i
36
+ end
37
+
38
+ def teardown
39
+ CudaThread.exit
40
+ end
41
+
42
+
43
+ def prepare_kernel_lib
44
+ src_file = 'test/vadd.cu'
45
+ lib_file = 'test/libvadd.so'
46
+ if File.exists?(lib_file) == false || File.mtime(src_file) > File.mtime(lib_file)
47
+ nvcc_build_dynamic_library(src_file, lib_file)
48
+ end
49
+ lib_file
50
+ end
51
+
52
+ def nvcc_build_dynamic_library(src_path, lib_path)
53
+ case RUBY_PLATFORM
54
+ when /darwin/ # Build universal binary for i386 and x86_64 platforms.
55
+ f32 = Tempfile.new("rubycuda_test32.so")
56
+ f64 = Tempfile.new("rubycuda_test64.so")
57
+ f32.close
58
+ f64.close
59
+ system %{nvcc -shared -m32 -Xcompiler -fPIC #{src_path} -o #{f32.path}}
60
+ system %{nvcc -shared -m64 -Xcompiler -fPIC #{src_path} -o #{f64.path}}
61
+ system %{lipo -arch i386 #{f32.path} -arch x86_64 #{f64.path} -create -output #{lib_path}}
62
+ else # Build default platform binary.
63
+ system %{nvcc -shared -Xcompiler -fPIC #{src_path} -o #{lib_path}}
64
+ end
65
+ end
66
+
67
+ end
@@ -0,0 +1,21 @@
1
+ extern "C" {
2
+
3
+ texture<int, 1, cudaReadModeElementType> tex;
4
+ __device__ int gvar = 1997;
5
+
6
+ __global__ void vadd(const int* a, const int* b, int* c, int n)
7
+ {
8
+ int i = blockIdx.x * blockDim.x + threadIdx.x;
9
+ if (i < n) {
10
+ c[i] = a[i] + b[i];
11
+ }
12
+ }
13
+
14
+ __global__ void vaddf(const float* a, const float* b, float* c, int n)
15
+ {
16
+ int i = blockIdx.x * blockDim.x + threadIdx.x;
17
+ if (i < n)
18
+ c[i] = a[i] + b[i];
19
+ }
20
+
21
+ }
@@ -0,0 +1 @@
1
+ SGC_RUBY_CUDA_VERSION = "0.1.0"
metadata ADDED
@@ -0,0 +1,180 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sgc-ruby-cuda
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
10
+ platform: ruby
11
+ authors:
12
+ - Chung Shin Yee
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2011-04-30 00:00:00 +08:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: ffi
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 1
30
+ - 0
31
+ - 7
32
+ version: 1.0.7
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: yard
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ segments:
44
+ - 0
45
+ - 6
46
+ - 7
47
+ version: 0.6.7
48
+ type: :runtime
49
+ version_requirements: *id002
50
+ description: SGC-Ruby-CUDA implements Ruby bindings to Nvidia CUDA SDK. It provides easy access to CUDA-enabled GPU from a Ruby program.
51
+ email: shinyee@speedgocomputing.com
52
+ executables: []
53
+
54
+ extensions: []
55
+
56
+ extra_rdoc_files: []
57
+
58
+ files:
59
+ - lib/cuda/driver/context.rb
60
+ - lib/cuda/driver/cu.rb
61
+ - lib/cuda/driver/device.rb
62
+ - lib/cuda/driver/deviceptr.rb
63
+ - lib/cuda/driver/error.rb
64
+ - lib/cuda/driver/event.rb
65
+ - lib/cuda/driver/ffi-cu.rb
66
+ - lib/cuda/driver/function.rb
67
+ - lib/cuda/driver/init.rb
68
+ - lib/cuda/driver/memory.rb
69
+ - lib/cuda/driver/module.rb
70
+ - lib/cuda/driver/rubycu.rb
71
+ - lib/cuda/driver/stream.rb
72
+ - lib/cuda/driver/version.rb
73
+ - lib/cuda/runtime/cuda.rb
74
+ - lib/cuda/runtime/device.rb
75
+ - lib/cuda/runtime/error.rb
76
+ - lib/cuda/runtime/event.rb
77
+ - lib/cuda/runtime/ffi-cuda.rb
78
+ - lib/cuda/runtime/function.rb
79
+ - lib/cuda/runtime/memory.rb
80
+ - lib/cuda/runtime/rubycuda.rb
81
+ - lib/cuda/runtime/stream.rb
82
+ - lib/cuda/runtime/thread.rb
83
+ - lib/cuda/runtime/version.rb
84
+ - lib/ffi/prettystruct.rb
85
+ - lib/helpers/flags.rb
86
+ - lib/helpers/interface/ienum.rb
87
+ - lib/helpers/klass.rb
88
+ - lib/memory/buffer.rb
89
+ - lib/memory/interface/ibuffer.rb
90
+ - lib/memory/pointer.rb
91
+ - lib/rubycu.rb
92
+ - lib/rubycuda.rb
93
+ - doc/devel.rdoc
94
+ - doc/features.rdoc
95
+ - Rakefile
96
+ - version.rb
97
+ - README.rdoc
98
+ - COPYING
99
+ - .yardopts
100
+ - test/memory/test_buffer.rb
101
+ - test/rubycu/test_cucontext.rb
102
+ - test/rubycu/test_cudevice.rb
103
+ - test/rubycu/test_cudeviceptr.rb
104
+ - test/rubycu/test_cuevent.rb
105
+ - test/rubycu/test_cufunction.rb
106
+ - test/rubycu/test_cumemory.rb
107
+ - test/rubycu/test_cumodule.rb
108
+ - test/rubycu/test_custream.rb
109
+ - test/rubycu/test_cuversion.rb
110
+ - test/rubycu/testbase.rb
111
+ - test/rubycuda/test_cudadevice.rb
112
+ - test/rubycuda/test_cudaerror.rb
113
+ - test/rubycuda/test_cudaevent.rb
114
+ - test/rubycuda/test_cudafunction.rb
115
+ - test/rubycuda/test_cudamemory.rb
116
+ - test/rubycuda/test_cudastream.rb
117
+ - test/rubycuda/test_cudathread.rb
118
+ - test/rubycuda/test_cudaversion.rb
119
+ - test/rubycuda/testbase.rb
120
+ - test/vadd.cu
121
+ - test/bad.ptx
122
+ has_rdoc: true
123
+ homepage: https://rubyforge.org/projects/rubycuda
124
+ licenses: []
125
+
126
+ post_install_message:
127
+ rdoc_options: []
128
+
129
+ require_paths:
130
+ - lib
131
+ required_ruby_version: !ruby/object:Gem::Requirement
132
+ none: false
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ segments:
137
+ - 1
138
+ - 9
139
+ - 2
140
+ version: 1.9.2
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
142
+ none: false
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ segments:
147
+ - 0
148
+ version: "0"
149
+ requirements:
150
+ - CUDA Toolkit 4.0
151
+ - C++ compiler
152
+ - CUDA-enabled GPU
153
+ rubyforge_project: rubycuda
154
+ rubygems_version: 1.3.7
155
+ signing_key:
156
+ specification_version: 3
157
+ summary: Ruby bindings for using Nvidia CUDA.
158
+ test_files:
159
+ - test/memory/test_buffer.rb
160
+ - test/rubycu/test_cucontext.rb
161
+ - test/rubycu/test_cudevice.rb
162
+ - test/rubycu/test_cudeviceptr.rb
163
+ - test/rubycu/test_cuevent.rb
164
+ - test/rubycu/test_cufunction.rb
165
+ - test/rubycu/test_cumemory.rb
166
+ - test/rubycu/test_cumodule.rb
167
+ - test/rubycu/test_custream.rb
168
+ - test/rubycu/test_cuversion.rb
169
+ - test/rubycu/testbase.rb
170
+ - test/rubycuda/test_cudadevice.rb
171
+ - test/rubycuda/test_cudaerror.rb
172
+ - test/rubycuda/test_cudaevent.rb
173
+ - test/rubycuda/test_cudafunction.rb
174
+ - test/rubycuda/test_cudamemory.rb
175
+ - test/rubycuda/test_cudastream.rb
176
+ - test/rubycuda/test_cudathread.rb
177
+ - test/rubycuda/test_cudaversion.rb
178
+ - test/rubycuda/testbase.rb
179
+ - test/vadd.cu
180
+ - test/bad.ptx