Lines Matching refs:HIP
6 static constexpr impl::MatDense_MPI_CUPM<DeviceType::HIP> mat_cupm{};
52 MatCreateDenseHIP - Creates a matrix in `MATDENSEHIP` format using HIP.
75 PetscCall(MatCreateDenseCUPM<DeviceType::HIP>(comm, m, n, M, N, data, A));
104 PetscCall(MatDenseCUPMPlaceArray<DeviceType::HIP>(mat, array));
127 PetscCall(MatDenseCUPMResetArray<DeviceType::HIP>(mat));
155 PetscCall(MatDenseCUPMReplaceArray<DeviceType::HIP>(mat, array));
160 MatDenseHIPGetArrayWrite - Provides write access to the HIP buffer inside a `MATDENSEHIP`
186 PetscCall(MatDenseCUPMGetArrayWrite<DeviceType::HIP>(A, a));
191 MatDenseHIPRestoreArrayWrite - Restore write access to the HIP buffer inside a
208 PetscCall(MatDenseCUPMRestoreArrayWrite<DeviceType::HIP>(A, a));
213 MatDenseHIPGetArrayRead - Provides read-only access to the HIP buffer inside a
238 PetscCall(MatDenseCUPMGetArrayRead<DeviceType::HIP>(A, a));
243 MatDenseHIPRestoreArrayRead - Restore read-only access to the HIP buffer inside a
264 PetscCall(MatDenseCUPMRestoreArrayRead<DeviceType::HIP>(A, a));
269 MatDenseHIPGetArray - Provides access to the HIP buffer inside a `MATDENSEHIP` matrix. The
294 PetscCall(MatDenseCUPMGetArray<DeviceType::HIP>(A, a));
299 MatDenseHIPRestoreArray - Restore access to the HIP buffer inside a `MATDENSEHIP` matrix
316 PetscCall(MatDenseCUPMRestoreArray<DeviceType::HIP>(A, a));
338 PetscCall(MatDenseCUPMSetPreallocation<DeviceType::HIP>(A, device_array));