/dports/devel/py-numba/numba-0.51.2/numba/cuda/tests/cudadrv/ |
H A D | test_cuda_array_slicing.py | 85 darr[i::2, j::2, k::2].copy_to_host()) 94 got = darr[i:].copy_to_host() 106 got = sliced.copy_to_host() 118 got = sliced.copy_to_host() 127 got = sliced.copy_to_host() 188 self.assertFalse(darr[:0][:0].copy_to_host()) 201 self.assertFalse(darr[:0][:0].copy_to_host()) 219 np.testing.assert_array_equal(darr.copy_to_host(), arr) 226 np.testing.assert_array_equal(darr.copy_to_host(), arr) 233 np.testing.assert_array_equal(darr.copy_to_host(), arr) [all …]
|
H A D | test_cuda_ndarray.py | 29 retr = dary.copy_to_host() 51 gpumem.copy_to_host(array) 91 right.copy_to_host(array[N//2:]) 92 left.copy_to_host(array[:N//2]) 102 gpumem.copy_to_host(array) 155 array.view(dtype).copy_to_host(), 164 array.view("u2").copy_to_host(), 196 array = cuda.to_device(original).T.copy_to_host() 267 self.assertTrue(np.all(d.copy_to_host() == a_c)) 278 self.assertTrue(np.all(d.copy_to_host() == a_f)) [all …]
|
H A D | test_array_attr.py | 50 flat = dflat.copy_to_host() 59 flat = dflat.copy_to_host() 70 flat = dflat.copy_to_host() 79 got = dary_reshaped.copy_to_host() 87 got = dary_reshaped.copy_to_host()
|
/dports/devel/py-numba/numba-0.51.2/numba/cuda/tests/cudapy/ |
H A D | test_cuda_array_interface.py | 21 np.testing.assert_array_equal(wrapped.copy_to_host(), h_arr) 22 np.testing.assert_array_equal(d_arr.copy_to_host(), h_arr) 117 np.testing.assert_array_equal(arr.copy_to_host(), h_arr) 144 c_arr.copy_to_host(), 151 c_arr.copy_to_host(), 157 np.testing.assert_array_equal(c_arr.copy_to_host(), h_arr) 162 c_arr.copy_to_host()[::2], 166 c_arr.copy_to_host()[1::2], 199 sliced.copy_to_host() 248 got = cuda.from_cuda_array_interface(face).copy_to_host() [all …]
|
H A D | test_transpose.py | 27 dy.copy_to_host(y) 47 host_transposed = d_transposed.copy_to_host() 60 host_transposed = d_transposed.copy_to_host() 75 h_a_view_t = d_a_view_t.copy_to_host()
|
H A D | test_random.py | 46 s = states.copy_to_host() 51 s1 = states.copy_to_host() 55 s2 = states.copy_to_host() 63 s = states.copy_to_host()
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/python/pyarrow/tests/ |
H A D | test_cuda.py | 284 fbuf.copy_to_host() 292 fbuf.copy_to_host() 380 buf = dbuf.copy_to_host() 413 dbuf.copy_to_host(buf=buf) 423 dbuf.copy_to_host(buf=buf, nbytes=12) 455 rbuf = dbuf.copy_to_host() 499 rbuf = dbuf.copy_to_host() 564 buf2 = cbuf.copy_to_host() 616 buf2 = cbuf.copy_to_host() 675 buf = cbuf.copy_to_host() [all …]
|
H A D | test_cuda_numba_interop.py | 90 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 120 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 134 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 153 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 171 np.testing.assert_equal(darr.copy_to_host()[:5], 99) 172 np.testing.assert_equal(darr.copy_to_host()[5:], 88) 176 arr2 = np.frombuffer(cbuf.copy_to_host(), dtype=dtype) 177 np.testing.assert_equal(arr2, darr.copy_to_host()) 191 np.testing.assert_equal(darr.copy_to_host(), arr) 206 np.testing.assert_equal(darr.copy_to_host(), arr) [all …]
|
/dports/databases/arrow/apache-arrow-6.0.1/python/pyarrow/tests/ |
H A D | test_cuda.py | 284 fbuf.copy_to_host() 292 fbuf.copy_to_host() 380 buf = dbuf.copy_to_host() 413 dbuf.copy_to_host(buf=buf) 455 rbuf = dbuf.copy_to_host() 499 rbuf = dbuf.copy_to_host() 616 buf2 = cbuf.copy_to_host() 682 buf = cbuf.copy_to_host() 747 dbuf.copy_to_host() 765 dbuf.copy_to_host() [all …]
|
H A D | test_cuda_numba_interop.py | 90 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 120 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 134 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 153 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 171 np.testing.assert_equal(darr.copy_to_host()[:5], 99) 172 np.testing.assert_equal(darr.copy_to_host()[5:], 88) 176 arr2 = np.frombuffer(cbuf.copy_to_host(), dtype=dtype) 177 np.testing.assert_equal(arr2, darr.copy_to_host()) 191 np.testing.assert_equal(darr.copy_to_host(), arr) 206 np.testing.assert_equal(darr.copy_to_host(), arr) [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/python/pyarrow/tests/ |
H A D | test_cuda.py | 284 fbuf.copy_to_host() 292 fbuf.copy_to_host() 380 buf = dbuf.copy_to_host() 413 dbuf.copy_to_host(buf=buf) 455 rbuf = dbuf.copy_to_host() 499 rbuf = dbuf.copy_to_host() 564 buf2 = cbuf.copy_to_host() 616 buf2 = cbuf.copy_to_host() 682 buf = cbuf.copy_to_host() 743 dbuf.copy_to_host() [all …]
|
H A D | test_cuda_numba_interop.py | 90 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 120 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 134 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 153 arr2 = np.frombuffer(cbuf2.copy_to_host(), dtype=dtype) 171 np.testing.assert_equal(darr.copy_to_host()[:5], 99) 172 np.testing.assert_equal(darr.copy_to_host()[5:], 88) 176 arr2 = np.frombuffer(cbuf.copy_to_host(), dtype=dtype) 177 np.testing.assert_equal(arr2, darr.copy_to_host()) 191 np.testing.assert_equal(darr.copy_to_host(), arr) 206 np.testing.assert_equal(darr.copy_to_host(), arr) [all …]
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/test/correctness/ |
H A D | async_copy_chain.cpp | 55 A.in().store_root().compute_at(B, y).fold_storage(y, 2).async().copy_to_host(); in main() 66 A.in().store_root().compute_at(B, y).fold_storage(y, 2).async().copy_to_host(); in main() 77 A.in().store_root().compute_at(B, y).fold_storage(y, 2).copy_to_host().async(); in main() 78 A.in().in().store_root().compute_at(B, y).fold_storage(y, 2).copy_to_host().async(); in main() 89 …).store_root().compute_at(A.in().in(), Var::outermost()).fold_storage(y, 2).copy_to_host().async(); in main() 90 A.in().in().store_root().compute_at(B, y).fold_storage(y, 2).copy_to_host().async(); in main() 103 A.in().in().store_root().compute_at(B, y).fold_storage(y, 2).copy_to_host().async(); in main() 115 A.in().in().store_root().compute_at(B, y).fold_storage(y, 2).copy_to_host().async(); in main() 127 A.in().in().store_root().compute_at(B, y).fold_storage(y, 2).copy_to_host().async(); in main() 137 A.in().in().store_root().compute_at(B, y).fold_storage(y, 2).copy_to_host().async(); in main()
|
H A D | device_slice.cpp | 54 gpu_buf.copy_to_host(); in main() 75 sliced.copy_to_host(); in main() 81 gpu_buf.copy_to_host(); in main() 109 sliced.copy_to_host(); in main() 115 sliced2.copy_to_host(); in main() 122 gpu_buf.copy_to_host(); in main() 147 sliced.copy_to_host(); in main() 181 gpu_output.copy_to_host(); in main() 182 gpu_output.copy_to_host(); in main()
|
H A D | device_crop.cpp | 46 gpu_buf.copy_to_host(); in main() 62 cropped.copy_to_host(); in main() 81 cropped.copy_to_host(); in main() 88 cropped2.copy_to_host(); in main() 108 cropped.copy_to_host(); in main() 140 gpu_output.copy_to_host(); in main()
|
H A D | device_buffer_copy.cpp | 49 gpu_buf.copy_to_host(); in main() 80 gpu_buf1.copy_to_host(); in main() 102 gpu_buf1.copy_to_host(); in main() 150 gpu_buf2.copy_to_host(); in main() 193 gpu_buf.copy_to_host(); in main() 229 gpu_buf1.copy_to_host(); in main() 251 gpu_buf2.copy_to_host(); in main() 275 gpu_buf1.copy_to_host(); in main() 296 gpu_buf1.copy_to_host(); in main() 320 gpu_buf1.copy_to_host(); in main() [all …]
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/apps/hexagon_dma/ |
H A D | pipeline_yuv_linear_basic.cpp | 91 .copy_to_host(); in generate() 95 .copy_to_host() in generate() 106 .copy_to_host() in generate() 112 .copy_to_host() in generate() 126 .copy_to_host() in generate() 133 .copy_to_host() in generate() 156 .copy_to_host() in generate() 160 .copy_to_host() in generate() 180 .copy_to_host() in generate() 187 .copy_to_host() in generate()
|
H A D | pipeline_raw_linear_interleaved_basic.cpp | 67 .copy_to_host() in generate() 75 .copy_to_host() in generate() 86 .copy_to_host() in generate() 102 .copy_to_host() in generate() 115 .copy_to_host() in generate()
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/test/generator/ |
H A D | gpu_object_lifetime_aottest.cpp | 53 output.copy_to_host(); in main() 71 output.copy_to_host(); in main() 100 output.copy_to_host(); in main() 139 wrap_test.copy_to_host(); in main() 140 output.copy_to_host(); in main() 188 output.copy_to_host(); in main() 189 output2.copy_to_host(); in main()
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/c_glib/test/ |
H A D | test-cuda.rb | 47 assert_equal("llo W", @buffer.copy_to_host(2, 5).to_s) 110 assert_equal("Hello Worl", stream.read(5).copy_to_host(0, 10).to_s) 132 assert_equal("Hello World", @buffer.copy_to_host(0, 11).to_s) 141 assert_equal("\x00" * 5, @buffer.copy_to_host(0, 5).to_s) 143 assert_equal("Hello", @buffer.copy_to_host(0, 5).to_s)
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/c_glib/test/ |
H A D | test-cuda.rb | 47 assert_equal("llo W", @buffer.copy_to_host(2, 5).to_s) 123 assert_equal("Hello Worl", stream.read(5).copy_to_host(0, 10).to_s) 145 assert_equal("Hello World", @buffer.copy_to_host(0, 11).to_s) 154 assert_equal("\x00" * 5, @buffer.copy_to_host(0, 5).to_s) 156 assert_equal("Hello", @buffer.copy_to_host(0, 5).to_s)
|
/dports/databases/arrow/apache-arrow-6.0.1/c_glib/test/ |
H A D | test-cuda.rb | 47 assert_equal("llo W", @buffer.copy_to_host(2, 5).to_s) 123 assert_equal("Hello Worl", stream.read(5).copy_to_host(0, 10).to_s) 145 assert_equal("Hello World", @buffer.copy_to_host(0, 11).to_s) 154 assert_equal("\x00" * 5, @buffer.copy_to_host(0, 5).to_s) 156 assert_equal("Hello", @buffer.copy_to_host(0, 5).to_s)
|
/dports/devel/py-numba/numba-0.51.2/docs/source/cuda-reference/ |
H A D | memory.rst | 16 :members: copy_to_device, copy_to_host, is_c_contiguous, is_f_contiguous, 19 :members: copy_to_device, copy_to_host 21 :members: copy_to_device, copy_to_host, split
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/test/opengl/ |
H A D | shifted_domains.cpp | 28 result.copy_to_host(); in shifted_domains() 39 shifted.copy_to_host(); in shifted_domains() 50 shifted.copy_to_host(); in shifted_domains()
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/include/deal.II/lac/ |
H A D | cuda_sparse_matrix.h | 420 Utilities::CUDA::copy_to_host(row_ptr_dev.get(), rows); in print() 421 Utilities::CUDA::copy_to_host(column_index_dev.get(), cols); in print() 422 Utilities::CUDA::copy_to_host(val_dev.get(), val); in print() 479 Utilities::CUDA::copy_to_host(row_ptr_dev.get(), rows); in print_formatted() 480 Utilities::CUDA::copy_to_host(column_index_dev.get(), cols); in print_formatted() 481 Utilities::CUDA::copy_to_host(val_dev.get(), val); in print_formatted()
|