Home
last modified time | relevance | path

Searched refs:d_B (Results 1 – 25 of 63) sorted by relevance

123

/dports/devel/kdevelop/kdevelop-21.12.3/plugins/clang/tests/files/
H A Dcuda.cu109 Matrix d_B; in MatMul() local
110 d_B.width = d_B.stride = B.width; d_B.height = B.height; in MatMul()
113 cudaMalloc(&d_B.elements, size); in MatMul()
114 cudaMemcpy(d_B.elements, B.elements, size, in MatMul()
126 MatMulKernel<<<dimGrid, dimBlock>>>(d_A, d_B, d_C); in MatMul()
134 cudaFree(d_B.elements); in MatMul()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c55 int *d_B = (int *)omp_target_alloc(N * sizeof(int), device); in main() local
59 printf("omp_target_alloc %s\n", d_A && d_B && d_C ? "succeeded" : "failed"); in main()
61 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
66 #pragma omp target is_device_ptr(d_A, d_B, d_C) device(device) in main()
70 d_A[i] = d_B[i] + d_C[i] + 1; in main()
98 int rc = omp_target_associate_ptr(B, d_B, N * sizeof(int), 0, device); in main()
158 omp_target_free(d_B, device); in main()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c58 int *d_B = (int *)omp_target_alloc(N * sizeof(int), device); in main() local
62 printf("omp_target_alloc %s\n", d_A && d_B && d_C ? "succeeded" : "failed"); in main()
64 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
69 #pragma omp target is_device_ptr(d_A, d_B, d_C) device(device) in main()
73 d_A[i] = d_B[i] + d_C[i] + 1; in main()
101 int rc = omp_target_associate_ptr(B, d_B, N * sizeof(int), 0, device); in main()
161 omp_target_free(d_B, device); in main()
/dports/devel/llvm10/llvm-10.0.1.src/projects/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c55 int *d_B = (int *)omp_target_alloc(N * sizeof(int), device); in main() local
59 printf("omp_target_alloc %s\n", d_A && d_B && d_C ? "succeeded" : "failed"); in main()
61 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
66 #pragma omp target is_device_ptr(d_A, d_B, d_C) device(device) in main()
70 d_A[i] = d_B[i] + d_C[i] + 1; in main()
98 int rc = omp_target_associate_ptr(B, d_B, N * sizeof(int), 0, device); in main()
158 omp_target_free(d_B, device); in main()
/dports/devel/llvm11/llvm-11.0.1.src/projects/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c55 int *d_B = (int *)omp_target_alloc(N * sizeof(int), device); in main() local
59 printf("omp_target_alloc %s\n", d_A && d_B && d_C ? "succeeded" : "failed"); in main()
61 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
66 #pragma omp target is_device_ptr(d_A, d_B, d_C) device(device) in main()
70 d_A[i] = d_B[i] + d_C[i] + 1; in main()
98 int rc = omp_target_associate_ptr(B, d_B, N * sizeof(int), 0, device); in main()
158 omp_target_free(d_B, device); in main()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c57 int *d_B = (int *)omp_target_alloc(N * sizeof(int), device); in main() local
61 printf("omp_target_alloc %s\n", d_A && d_B && d_C ? "succeeded" : "failed"); in main()
63 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
68 #pragma omp target is_device_ptr(d_A, d_B, d_C) device(device) in main()
72 d_A[i] = d_B[i] + d_C[i] + 1; in main()
100 int rc = omp_target_associate_ptr(B, d_B, N * sizeof(int), 0, device); in main()
160 omp_target_free(d_B, device); in main()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c58 int *d_B = (int *)omp_target_alloc(N * sizeof(int), device); in main() local
62 printf("omp_target_alloc %s\n", d_A && d_B && d_C ? "succeeded" : "failed"); in main()
64 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
69 #pragma omp target is_device_ptr(d_A, d_B, d_C) device(device) in main()
73 d_A[i] = d_B[i] + d_C[i] + 1; in main()
101 int rc = omp_target_associate_ptr(B, d_B, N * sizeof(int), 0, device); in main()
161 omp_target_free(d_B, device); in main()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c57 int *d_B = (int *)omp_target_alloc(N * sizeof(int), device); in main() local
61 printf("omp_target_alloc %s\n", d_A && d_B && d_C ? "succeeded" : "failed"); in main()
63 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
68 #pragma omp target is_device_ptr(d_A, d_B, d_C) device(device) in main()
72 d_A[i] = d_B[i] + d_C[i] + 1; in main()
100 int rc = omp_target_associate_ptr(B, d_B, N * sizeof(int), 0, device); in main()
160 omp_target_free(d_B, device); in main()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c55 int *d_B = (int *)omp_target_alloc(N * sizeof(int), device); in main() local
59 printf("omp_target_alloc %s\n", d_A && d_B && d_C ? "succeeded" : "failed"); in main()
61 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
66 #pragma omp target is_device_ptr(d_A, d_B, d_C) device(device) in main()
70 d_A[i] = d_B[i] + d_C[i] + 1; in main()
98 int rc = omp_target_associate_ptr(B, d_B, N * sizeof(int), 0, device); in main()
158 omp_target_free(d_B, device); in main()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c58 int *d_B = (int *)omp_target_alloc(N * sizeof(int), device); in main() local
62 printf("omp_target_alloc %s\n", d_A && d_B && d_C ? "succeeded" : "failed"); in main()
64 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
69 #pragma omp target is_device_ptr(d_A, d_B, d_C) device(device) in main()
73 d_A[i] = d_B[i] + d_C[i] + 1; in main()
101 int rc = omp_target_associate_ptr(B, d_B, N * sizeof(int), 0, device); in main()
161 omp_target_free(d_B, device); in main()
/dports/devel/llvm12/llvm-project-12.0.1.src/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c57 int *d_B = (int *)omp_target_alloc(N * sizeof(int), device); in main() local
61 printf("omp_target_alloc %s\n", d_A && d_B && d_C ? "succeeded" : "failed"); in main()
63 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
68 #pragma omp target is_device_ptr(d_A, d_B, d_C) device(device) in main()
72 d_A[i] = d_B[i] + d_C[i] + 1; in main()
100 int rc = omp_target_associate_ptr(B, d_B, N * sizeof(int), 0, device); in main()
160 omp_target_free(d_B, device); in main()
/dports/devel/llvm13/llvm-project-13.0.1.src/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c58 int *d_B = (int *)omp_target_alloc(N * sizeof(int), device); in main() local
62 printf("omp_target_alloc %s\n", d_A && d_B && d_C ? "succeeded" : "failed"); in main()
64 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
69 #pragma omp target is_device_ptr(d_A, d_B, d_C) device(device) in main()
73 d_A[i] = d_B[i] + d_C[i] + 1; in main()
101 int rc = omp_target_associate_ptr(B, d_B, N * sizeof(int), 0, device); in main()
161 omp_target_free(d_B, device); in main()
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/tce/ttlg/
H A Dtest.cpp85 type *d_A, *d_B; in main() local
94 cudaMalloc(&d_B, totalsize); in main()
97 cudaMemcpy(d_B, B, totalsize, cudaMemcpyHostToDevice); in main()
105 ttlg_transpose(ndim,dim, permutation, d_A, d_B ,alpha, beta); in main()
114 cudaMemcpy(B, d_B,totalsize, cudaMemcpyDeviceToHost); in main()
134 cudaFree(d_B); in main()
/dports/science/nwchem-data/nwchem-7.0.2-release/src/tce/ttlg/
H A Dtest.cpp85 type *d_A, *d_B; in main() local
94 cudaMalloc(&d_B, totalsize); in main()
97 cudaMemcpy(d_B, B, totalsize, cudaMemcpyHostToDevice); in main()
105 ttlg_transpose(ndim,dim, permutation, d_A, d_B ,alpha, beta); in main()
114 cudaMemcpy(B, d_B,totalsize, cudaMemcpyDeviceToHost); in main()
134 cudaFree(d_B); in main()
/dports/devel/thrust/thrust-1.9.5/testing/
H A Dswap_ranges.cu168 thrust::device_vector<type_with_swap> d_B = h_B; in TestSwapRangesUserSwap() local
187 ASSERT_EQUAL_QUIET(ref, d_B[0]); in TestSwapRangesUserSwap()
188 ASSERT_EQUAL_QUIET(ref, d_B[1]); in TestSwapRangesUserSwap()
189 ASSERT_EQUAL_QUIET(ref, d_B[2]); in TestSwapRangesUserSwap()
194 thrust::swap_ranges(d_A.begin(), d_A.end(), d_B.begin()); in TestSwapRangesUserSwap()
213 ASSERT_EQUAL_QUIET(ref, d_B[0]); in TestSwapRangesUserSwap()
214 ASSERT_EQUAL_QUIET(ref, d_B[1]); in TestSwapRangesUserSwap()
215 ASSERT_EQUAL_QUIET(ref, d_B[2]); in TestSwapRangesUserSwap()
/dports/devel/cmake-gui/cmake-3.22.1/Tests/Cuda/ProperDeviceLibraries/
H A Dmain.cu20 const float* d_A, const float* d_B, in deviceCublasSgemm() argument
34 d_A, n, d_B, n, &beta, d_C, n); in deviceCublasSgemm()
87 float* d_B = nullptr; in main() local
89 deviceCublasSgemm<<<1, 1>>>(n, alpha, beta, d_A, d_B, d_C); in main()
/dports/devel/cmake/cmake-3.22.1/Tests/Cuda/ProperDeviceLibraries/
H A Dmain.cu20 const float* d_A, const float* d_B, in deviceCublasSgemm() argument
34 d_A, n, d_B, n, &beta, d_C, n); in deviceCublasSgemm()
87 float* d_B = nullptr; in main() local
89 deviceCublasSgemm<<<1, 1>>>(n, alpha, beta, d_A, d_B, d_C); in main()
/dports/devel/cmake-doc/cmake-3.22.1/Tests/Cuda/ProperDeviceLibraries/
H A Dmain.cu20 const float* d_A, const float* d_B, in deviceCublasSgemm() argument
34 d_A, n, d_B, n, &beta, d_C, n); in deviceCublasSgemm()
87 float* d_B = nullptr; in main() local
89 deviceCublasSgemm<<<1, 1>>>(n, alpha, beta, d_A, d_B, d_C); in main()
/dports/devel/hpx/hpx-1.2.1/tests/unit/computeapi/cuda/
H A Dfor_loop_compute.cu29 target_vector& d_A, target_vector& d_B, target_vector& d_C, in test_for_loop() argument
40 hpx::parallel::induction(d_B.data()), in test_for_loop()
91 target_vector d_B(N, allocB); in hpx_main() local
102 h_B.begin(), h_B.end(), d_B.begin()); in hpx_main()
111 test_for_loop(exec, d_A, d_B, d_C, h_C_ref); in hpx_main()
H A Dtransform_compute.cu44 target_vector& d_A, target_vector& d_B, target_vector& d_C, in test_transform() argument
49 d_A.begin(), d_A.end(), d_B.begin(), d_C.begin(), in test_transform()
96 target_vector d_B(N, allocB); in hpx_main() local
107 h_B.begin(), h_B.end(), d_B.begin()); in hpx_main()
116 test_transform(exec, d_A, d_B, d_C, h_C_ref); in hpx_main()
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/
H A Dalmo_scf_diis_types.F315 d_B=diis_env%d_err(in_point, idomain))
475 FUNCTION almo_scf_diis_error_overlap(diis_env, A, B, d_A, d_B)
480 OPTIONAL :: d_A, d_B local
496 IF (.NOT. (PRESENT(d_A) .AND. PRESENT(d_B))) THEN
508 CPASSERT(SIZE(d_A%mdata, 1) .EQ. SIZE(d_B%mdata, 1))
509 CPASSERT(SIZE(d_A%mdata, 2) .EQ. SIZE(d_B%mdata, 2))
510 CPASSERT(d_A%domain .EQ. d_B%domain)
512 CPASSERT(d_B%domain .GT. 0)
513 trace = SUM(d_A%mdata(:, :)*d_B%mdata(:, :))
/dports/science/cp2k-data/cp2k-7.1.0/src/
H A Dalmo_scf_diis_types.F315 d_B=diis_env%d_err(in_point, idomain))
475 FUNCTION almo_scf_diis_error_overlap(diis_env, A, B, d_A, d_B)
480 OPTIONAL :: d_A, d_B local
496 IF (.NOT. (PRESENT(d_A) .AND. PRESENT(d_B))) THEN
508 CPASSERT(SIZE(d_A%mdata, 1) .EQ. SIZE(d_B%mdata, 1))
509 CPASSERT(SIZE(d_A%mdata, 2) .EQ. SIZE(d_B%mdata, 2))
510 CPASSERT(d_A%domain .EQ. d_B%domain)
512 CPASSERT(d_B%domain .GT. 0)
513 trace = SUM(d_A%mdata(:, :)*d_B%mdata(:, :))
/dports/science/siesta/siesta-4.1.5/Src/
H A Dm_geom_plane.f9074 real(dp) :: d_B = 0._dp ! d_Below component
88 real(dp) :: d_B = 0._dp ! d_Below component
168 if ( plane%n(1)*p(1)+plane%n(2)*p(2)+plane%n(3)*p(3) < plane%d_B ) return
184 if ( plane%n(1)*p(1)+plane%n(2)*p(2)+plane%n(3)*p(3) < plane%d_B ) return
207 (plane%d_B + plane%cut_off)
227 (plane%d_B + plane%cut_off))
309 plane%d_B = t_plane%d - plane%cut_off
323 plane%d_B = t_plane%d - plane%cut_off
/dports/devel/hpx/hpx-1.2.1/examples/compute/cuda/
H A Dcublas_matmul.cpp236 T *d_B=d_vB.device_data(); in matrixMultiply() local
240 T *d_A, *d_B, *d_C; in matrixMultiply() local
245 cudaMalloc((void **) &d_B, size_B*sizeof(T))); in matrixMultiply()
256 d_B, h_B.data(), size_B*sizeof(T), cudaMemcpyHostToDevice); in matrixMultiply()
281 d_B, matrix_size.uiWB, in matrixMultiply()
303 d_B, matrix_size.uiWB, in matrixMultiply()
372 cudaFree(d_B); in matrixMultiply()
/dports/lang/perl5.34/perl-5.34.0/t/mro/
H A Dbasic_05_dfs_utf8.t31 package Diᚪၚd_B;
53 [ qw(Diᚪၚd_D Diᚪၚd_C Diᚪၚd_A Diᚪၚd_B) ]

123