Searched refs:ind_to_offset (Results 1 – 3 of 3) sorted by relevance
| /libCEED/backends/sycl-ref/ |
| H A D | ceed-sycl-restriction.sycl.cpp | 254 …CeedInt num_elem, elem_size, num_comp, num_nodes = 0, *ind_to_offset, *l_vec_ind… in CeedElemRestrictionOffset_Sycl() local 273 CeedCallBackend(CeedCalloc(l_size, &ind_to_offset)); in CeedElemRestrictionOffset_Sycl() 278 ind_to_offset[i] = j++; in CeedElemRestrictionOffset_Sycl() 290 …for (CeedInt i = 0; i < elem_size; ++i) ++t_offsets[ind_to_offset[indices[elem_size * e + i]] + 1]; in CeedElemRestrictionOffset_Sycl() 299 t_indices[t_offsets[ind_to_offset[gid]]++] = lid; in CeedElemRestrictionOffset_Sycl() 327 CeedCallBackend(CeedFree(&ind_to_offset)); in CeedElemRestrictionOffset_Sycl()
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref-restriction.c | 421 CeedInt *ind_to_offset, *l_vec_indices, *t_offsets, *t_indices; in CeedElemRestrictionOffset_Cuda() local 441 CeedCallBackend(CeedCalloc(l_size, &ind_to_offset)); in CeedElemRestrictionOffset_Cuda() 446 ind_to_offset[i] = j++; in CeedElemRestrictionOffset_Cuda() 458 …for (CeedInt i = 0; i < elem_size; ++i) ++t_offsets[ind_to_offset[indices[elem_size * e + i]] + 1]; in CeedElemRestrictionOffset_Cuda() 468 t_indices[t_offsets[ind_to_offset[gid]]++] = lid; in CeedElemRestrictionOffset_Cuda() 487 CeedCallBackend(CeedFree(&ind_to_offset)); in CeedElemRestrictionOffset_Cuda()
|
| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref-restriction.c | 422 CeedInt *ind_to_offset, *l_vec_indices, *t_offsets, *t_indices; in CeedElemRestrictionOffset_Hip() local 442 CeedCallBackend(CeedCalloc(l_size, &ind_to_offset)); in CeedElemRestrictionOffset_Hip() 447 ind_to_offset[i] = j++; in CeedElemRestrictionOffset_Hip() 459 …for (CeedInt i = 0; i < elem_size; ++i) ++t_offsets[ind_to_offset[indices[elem_size * e + i]] + 1]; in CeedElemRestrictionOffset_Hip() 469 t_indices[t_offsets[ind_to_offset[gid]]++] = lid; in CeedElemRestrictionOffset_Hip() 488 CeedCallBackend(CeedFree(&ind_to_offset)); in CeedElemRestrictionOffset_Hip()
|