Lines Matching refs:size
523 const CeedInt size = num_elem * elem_size; in CeedElemRestrictionCreate_Cuda() local
526 impl->num_nodes = size; in CeedElemRestrictionCreate_Cuda()
532 CeedInt layout[3] = {1, size, elem_size}; in CeedElemRestrictionCreate_Cuda()
592 …CeedCallBackend(CeedSetHostCeedIntArray(offsets, copy_mode, size, &impl->h_offsets_owned, &impl->h… in CeedElemRestrictionCreate_Cuda()
593 CeedCallCuda(ceed, cudaMalloc((void **)&impl->d_offsets_owned, size * sizeof(CeedInt))); in CeedElemRestrictionCreate_Cuda()
594 …CeedCallCuda(ceed, cudaMemcpy((CeedInt *)impl->d_offsets_owned, impl->h_offsets, size * sizeof(Cee… in CeedElemRestrictionCreate_Cuda()
599 …CeedCallBackend(CeedSetDeviceCeedIntArray_Cuda(ceed, offsets, copy_mode, size, &impl->d_offsets_ow… in CeedElemRestrictionCreate_Cuda()
601 CeedCallBackend(CeedMalloc(size, &impl->h_offsets_owned)); in CeedElemRestrictionCreate_Cuda()
602 …CeedCallCuda(ceed, cudaMemcpy((CeedInt *)impl->h_offsets_owned, impl->d_offsets, size * sizeof(Cee… in CeedElemRestrictionCreate_Cuda()
612 …CeedCallBackend(CeedSetHostBoolArray(orients, copy_mode, size, &impl->h_orients_owned, &impl->h_or… in CeedElemRestrictionCreate_Cuda()
613 CeedCallCuda(ceed, cudaMalloc((void **)&impl->d_orients_owned, size * sizeof(bool))); in CeedElemRestrictionCreate_Cuda()
614 …CeedCallCuda(ceed, cudaMemcpy((bool *)impl->d_orients_owned, impl->h_orients, size * sizeof(bool),… in CeedElemRestrictionCreate_Cuda()
618 …CeedCallBackend(CeedSetDeviceBoolArray_Cuda(ceed, orients, copy_mode, size, &impl->d_orients_owned… in CeedElemRestrictionCreate_Cuda()
620 CeedCallBackend(CeedMalloc(size, &impl->h_orients_owned)); in CeedElemRestrictionCreate_Cuda()
621 …CeedCallCuda(ceed, cudaMemcpy((bool *)impl->h_orients_owned, impl->d_orients, size * sizeof(bool),… in CeedElemRestrictionCreate_Cuda()
628 …CeedCallBackend(CeedSetHostCeedInt8Array(curl_orients, copy_mode, 3 * size, &impl->h_curl_orients_… in CeedElemRestrictionCreate_Cuda()
630 … CeedCallCuda(ceed, cudaMalloc((void **)&impl->d_curl_orients_owned, 3 * size * sizeof(CeedInt8))); in CeedElemRestrictionCreate_Cuda()
632 …aMemcpy((CeedInt8 *)impl->d_curl_orients_owned, impl->h_curl_orients, 3 * size * sizeof(CeedInt8),… in CeedElemRestrictionCreate_Cuda()
636 …CeedCallBackend(CeedSetDeviceCeedInt8Array_Cuda(ceed, curl_orients, copy_mode, 3 * size, &impl->d_… in CeedElemRestrictionCreate_Cuda()
638 CeedCallBackend(CeedMalloc(3 * size, &impl->h_curl_orients_owned)); in CeedElemRestrictionCreate_Cuda()
640 …aMemcpy((CeedInt8 *)impl->h_curl_orients_owned, impl->d_curl_orients, 3 * size * sizeof(CeedInt8),… in CeedElemRestrictionCreate_Cuda()