/dports/math/faiss/faiss-1.7.1/faiss/ |
H A D | VectorTransform.cpp | 350 int d_in, in PCAMatrix() argument 425 double* v2 = cov + (d_in - 1 - i) * d_in; in eig() 462 PCAMat.resize(d_in * d_in); in train() 495 std::vector<double> covd(d_in * d_in); in train() 496 for (size_t i = 0; i < d_in * d_in; i++) in train() 503 for (size_t i = 0; i < d_in * d_in; i++) in train() 515 xc[i * d_in + j] = x[i * d_in + j] - mean[j]; in train() 613 d_in); in prepare_Ab() 653 memcpy(&A[row_dst * d_in], &Ain[i * d_in], d_in * sizeof(A[0])); in prepare_Ab() 994 size_t d = d_out <= d_in ? d_in : d_out; in train() [all …]
|
H A D | VectorTransform.h | 28 int d_in; ///! input dimension member 31 explicit VectorTransform(int d_in = 0, int d_out = 0) 32 : d_in(d_in), d_out(d_out), is_trained(true) {} in d_in() function 79 int d_in = 0, 109 RandomRotationMatrix(int d_in, int d_out) in RandomRotationMatrix() 110 : LinearTransform(d_in, d_out, false) {} in RandomRotationMatrix() 152 int d_in = 0, 202 explicit ITQTransform(int d_in = 0, int d_out = 0, bool do_pca = false); 247 RemapDimensionsTransform(int d_in, int d_out, const int* map); 252 RemapDimensionsTransform(int d_in, int d_out, bool uniform = true);
|
/dports/science/lammps/lammps-stable_29Sep2021/lib/gpu/cudpp_mini/ |
H A D | scan_app.cu | 73 const T *d_in, in scanArrayRecursive() argument 323 const void *d_in, in cudppScanDispatch() argument 340 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 346 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 352 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 358 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 447 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 453 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 459 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 465 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() [all …]
|
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/gpu/cudpp_mini/ |
H A D | scan_app.cu | 73 const T *d_in, in scanArrayRecursive() argument 323 const void *d_in, in cudppScanDispatch() argument 340 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 346 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 352 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 358 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 447 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 453 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 459 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() 465 ((int*)d_out, (const int*)d_in, in cudppScanDispatch() [all …]
|
/dports/devel/libdap/libdap-3.20.8/ |
H A D | D4StreamUnMarshaller.cc | 177 d_in.read(d_buf, sizeof(dods_float32)); in get_float32() 207 d_in.read(d_buf, sizeof(dods_float64)); in get_float64() 246 d_in.read(&val[0], len); in get_str() 285 d_in.read(*val, len); in get_opaque_dap4() 302 d_in.read(val, bytes); in get_vector() 315 d_in.read(&buf[0], size); in m_deserialize_reals() 397 d_in.read(val, bytes); in get_vector() 414 d_in.read(val, bytes); in get_vector_float32() 428 d_in.read(val, num * width); in get_vector_float32() 446 d_in.read(val, bytes); in get_vector_float64() [all …]
|
H A D | XDRStreamUnMarshaller.cc | 54 d_in(in) in XDRStreamUnMarshaller() 93 if (!(d_in.read(d_buf, 4))) { in get_byte() 94 if (d_in.eof()) in get_byte() 118 d_in.read(d_buf, 4); in get_int16() 127 d_in.read(d_buf, 4); in get_int32() 136 d_in.read(d_buf, 4); in get_float32() 145 d_in.read(d_buf, 8); in get_float64() 154 d_in.read(d_buf, 4); in get_uint16() 163 d_in.read(d_buf, 4); in get_uint32() 233 d_in.read(d_buf, len); in get_opaque() [all …]
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/tce/ |
H A D | daxfile.F | 1 subroutine daxfile(n,coefficients,d_in,d_out,size) argument 17 integer d_in(*) 36 if ( (fileisga(d_in(1)).and.fileisga(d_out)) ) then 38 call ga_copy(d_in(1),d_out) 43 call ga_add(coefficients(1),d_in(1), ! alpha,d_a 44 1 coefficients(2),d_in(2), ! beta, d_b 59 dinisga = fileisga(d_in(1)) 68 write(LuOut,9180) d_in(l),size,coefficients(l) 77 if (.not.dinisga) call dratoga(d_in(l)) 80 if (.not.dinisga) call gatodra(d_in(l)) [all …]
|
H A D | daxpyfile.F | 1 subroutine daxpyfile(n,coefficients,d_in,d_out,size) argument 17 integer d_in(*) 36 if ( (fileisga(d_in(1)).and.fileisga(d_out)) ) then 39 call ga_add(coefficients(1),d_in(1), ! alpha,d_a 45 call ga_add(coefficients(l),d_in(l),1.0d0,d_out,d_out) 54 1 ((ioalg.eq.6).and.(.not.fileisga(d_in(1))))) 55 dinisga = fileisga(d_in(1)) 64 write(LuOut,9180) d_in(l),size,coefficients(l) 72 if (.not.dinisga) call dratoga(d_in(l)) 75 if (.not.dinisga) call gatodra(d_in(l)) [all …]
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/tce/ |
H A D | daxfile.F | 1 subroutine daxfile(n,coefficients,d_in,d_out,size) argument 17 integer d_in(*) 36 if ( (fileisga(d_in(1)).and.fileisga(d_out)) ) then 38 call ga_copy(d_in(1),d_out) 43 call ga_add(coefficients(1),d_in(1), ! alpha,d_a 44 1 coefficients(2),d_in(2), ! beta, d_b 59 dinisga = fileisga(d_in(1)) 68 write(LuOut,9180) d_in(l),size,coefficients(l) 77 if (.not.dinisga) call dratoga(d_in(l)) 80 if (.not.dinisga) call gatodra(d_in(l)) [all …]
|
H A D | daxpyfile.F | 1 subroutine daxpyfile(n,coefficients,d_in,d_out,size) argument 17 integer d_in(*) 36 if ( (fileisga(d_in(1)).and.fileisga(d_out)) ) then 39 call ga_add(coefficients(1),d_in(1), ! alpha,d_a 45 call ga_add(coefficients(l),d_in(l),1.0d0,d_out,d_out) 54 1 ((ioalg.eq.6).and.(.not.fileisga(d_in(1))))) 55 dinisga = fileisga(d_in(1)) 64 write(LuOut,9180) d_in(l),size,coefficients(l) 72 if (.not.dinisga) call dratoga(d_in(l)) 75 if (.not.dinisga) call gatodra(d_in(l)) [all …]
|
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/qis/ |
H A D | channels_test.py | 25 d_out, d_in = ks[0].shape 26 assert rho.shape == (d_in, d_in) 33 def generate_standard_operator_basis(d_out: int, d_in: int) -> Iterable[np.ndarray]: 35 for j in range(d_in): 36 e_ij = np.zeros((d_out, d_in)) 43 d_out, d_in = ks[0].shape 44 d = d_in * d_out 46 for e in generate_standard_operator_basis(d_in, d_in): 53 d_out, d_in = ks[0].shape 54 m = np.zeros((d_out * d_out, d_in * d_in), dtype=np.complex128) [all …]
|
/dports/misc/xgboost/xgboost-1.5.1/cub/test/ |
H A D | test_device_reduce.cu | 108 InputIteratorT d_in, in Dispatch() argument 152 InputIteratorT d_in, in Dispatch() argument 184 InputIteratorT d_in, in Dispatch() argument 216 InputIteratorT d_in, in Dispatch() argument 248 InputIteratorT d_in, in Dispatch() argument 280 InputIteratorT d_in, in Dispatch() argument 317 InputIteratorT d_in, in Dispatch() argument 361 InputIteratorT d_in, in Dispatch() argument 647 (void)d_in; in CnpDispatchKernel() 1008 if (d_in) CubDebugExit(g_allocator.DeviceFree(d_in)); in TestProblem() [all …]
|
/dports/graphics/seexpr/seexpr-3.4.4.0/src/SeExpr2/ |
H A D | Noise.cpp | 144 uint32_t index[d_in]; in CellNoise() 146 for (int k = 0; k < d_in; k++) in CellNoise() 152 for (int k = 0; k < d_in; k++) in CellNoise() 160 T P[d_in]; in Noise() 161 for (int i = 0; i < d_in; i++) in Noise() 177 T P[d_in]; in PNoise() 178 for (int i = 0; i < d_in; i++) in PNoise() 195 T P[d_in]; in FBM() 196 for (int i = 0; i < d_in; i++) in FBM() 205 Noise<d_in, d_out>(P, localResult); in FBM() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/src/base/ |
H A D | dirichlet_boundary.C | 177 DirichletBoundary(const DirichletBoundary & d_in) : in DirichletBoundary() argument 178 b(d_in.b), in DirichletBoundary() 179 variables(d_in.variables), in DirichletBoundary() 180 f(d_in.f ? d_in.f->clone() : nullptr), in DirichletBoundary() 181 g(d_in.g ? d_in.g->clone() : nullptr), in DirichletBoundary() 182 f_fem(d_in.f_fem ? d_in.f_fem->clone() : nullptr), in DirichletBoundary() 183 g_fem(d_in.g_fem ? d_in.g_fem->clone() : nullptr), in DirichletBoundary() 184 f_system(d_in.f_system), in DirichletBoundary() 185 jacobian_tolerance(d_in.jacobian_tolerance) in DirichletBoundary()
|
/dports/math/suitesparse-klu/SuiteSparse-5.10.1/GraphBLAS/CUDA/local_cub/device/ |
H A D | device_reduce.cuh | 151 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Reduce() 165 d_in, in Reduce() 232 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Sum() 249 d_in, in Sum() 309 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Min() 324 d_in, in Min() 386 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in ArgMin() 408 ArgIndexInputIteratorT d_indexed_in(d_in); in ArgMin() 476 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Max() 491 d_in, in Max() [all …]
|
H A D | device_segmented_reduce.cuh | 136 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Reduce() 152 d_in, in Reduce() 218 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Sum() 237 d_in, in Sum() 303 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Min() 320 d_in, in Min() 388 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in ArgMin() 412 ArgIndexInputIteratorT d_indexed_in(d_in); in ArgMin() 486 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Max() 503 d_in, in Max() [all …]
|
/dports/math/suitesparse-ldl/SuiteSparse-5.10.1/GraphBLAS/CUDA/local_cub/device/ |
H A D | device_reduce.cuh | 151 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Reduce() 165 d_in, in Reduce() 232 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Sum() 249 d_in, in Sum() 309 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Min() 324 d_in, in Min() 386 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in ArgMin() 408 ArgIndexInputIteratorT d_indexed_in(d_in); in ArgMin() 476 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Max() 491 d_in, in Max() [all …]
|
H A D | device_segmented_reduce.cuh | 136 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Reduce() 152 d_in, in Reduce() 218 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Sum() 237 d_in, in Sum() 303 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Min() 320 d_in, in Min() 388 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in ArgMin() 412 ArgIndexInputIteratorT d_indexed_in(d_in); in ArgMin() 486 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Max() 503 d_in, in Max() [all …]
|
/dports/math/suitesparse-btf/SuiteSparse-5.10.1/GraphBLAS/CUDA/local_cub/device/ |
H A D | device_reduce.cuh | 151 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Reduce() 165 d_in, in Reduce() 232 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Sum() 249 d_in, in Sum() 309 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Min() 324 d_in, in Min() 386 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in ArgMin() 408 ArgIndexInputIteratorT d_indexed_in(d_in); in ArgMin() 476 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Max() 491 d_in, in Max() [all …]
|
H A D | device_segmented_reduce.cuh | 136 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Reduce() 152 d_in, in Reduce() 218 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Sum() 237 d_in, in Sum() 303 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Min() 320 d_in, in Min() 388 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in ArgMin() 412 ArgIndexInputIteratorT d_indexed_in(d_in); in ArgMin() 486 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Max() 503 d_in, in Max() [all …]
|
/dports/math/suitesparse-amd/SuiteSparse-5.10.1/GraphBLAS/CUDA/local_cub/device/ |
H A D | device_reduce.cuh | 151 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Reduce() 165 d_in, in Reduce() 232 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Sum() 249 d_in, in Sum() 309 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Min() 324 d_in, in Min() 386 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in ArgMin() 408 ArgIndexInputIteratorT d_indexed_in(d_in); in ArgMin() 476 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Max() 491 d_in, in Max() [all …]
|
H A D | device_segmented_reduce.cuh | 136 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Reduce() 152 d_in, in Reduce() 218 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Sum() 237 d_in, in Sum() 303 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Min() 320 d_in, in Min() 388 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in ArgMin() 412 ArgIndexInputIteratorT d_indexed_in(d_in); in ArgMin() 486 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Max() 503 d_in, in Max() [all …]
|
/dports/math/suitesparse-slip_lu/SuiteSparse-5.10.1/GraphBLAS/CUDA/local_cub/device/ |
H A D | device_reduce.cuh | 151 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Reduce() 165 d_in, in Reduce() 232 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Sum() 249 d_in, in Sum() 309 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Min() 324 d_in, in Min() 386 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in ArgMin() 408 ArgIndexInputIteratorT d_indexed_in(d_in); in ArgMin() 476 …InputIteratorT d_in, ///< [in] Pointer to the input seq… in Max() 491 d_in, in Max() [all …]
|
H A D | device_segmented_reduce.cuh | 136 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Reduce() 152 d_in, in Reduce() 218 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Sum() 237 d_in, in Sum() 303 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Min() 320 d_in, in Min() 388 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in ArgMin() 412 ArgIndexInputIteratorT d_indexed_in(d_in); in ArgMin() 486 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Max() 503 d_in, in Max() [all …]
|
/dports/math/suitesparse-mongoose/SuiteSparse-5.10.1/GraphBLAS/CUDA/local_cub/device/ |
H A D | device_segmented_reduce.cuh | 136 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Reduce() 152 d_in, in Reduce() 218 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Sum() 237 d_in, in Sum() 303 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Min() 320 d_in, in Min() 388 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in ArgMin() 412 ArgIndexInputIteratorT d_indexed_in(d_in); in ArgMin() 486 …InputIteratorT d_in, ///< [in] Pointer to the input sequence of… in Max() 503 d_in, in Max() [all …]
|