Searched refs:copy_size (Results 1 – 2 of 2) sorted by relevance
| /libCEED/interface/ |
| H A D | ceed-jit-tools.c | 184 …long copy_size = first_hash - &temp_buffer[file_offset] + (is_pragma_once ? 0 : (next_new_line … in CeedLoadSourceToInitializedBuffer() local 186 CeedCall(CeedRealloc(current_size + copy_size + 2, buffer)); in CeedLoadSourceToInitializedBuffer() 188 memcpy(&(*buffer)[current_size + 1], &temp_buffer[file_offset], copy_size); in CeedLoadSourceToInitializedBuffer() 189 memcpy(&(*buffer)[current_size + copy_size], "", 1); in CeedLoadSourceToInitializedBuffer() 209 long copy_size = first_hash - &temp_buffer[file_offset]; in CeedLoadSourceToInitializedBuffer() local 211 CeedCall(CeedRealloc(current_size + copy_size + 2, buffer)); in CeedLoadSourceToInitializedBuffer() 213 memcpy(&(*buffer)[current_size + 1], &temp_buffer[file_offset], copy_size); in CeedLoadSourceToInitializedBuffer() 214 memcpy(&(*buffer)[current_size + copy_size], "", 1); in CeedLoadSourceToInitializedBuffer() 267 CeedCall(CeedRealloc(current_size + copy_size + header_copy_size + 2, buffer)); in CeedLoadSourceToInitializedBuffer() 268 memcpy(&(*buffer)[current_size + copy_size], "\n", 2); in CeedLoadSourceToInitializedBuffer() [all …]
|
| /libCEED/backends/cuda-ref/kernels/ |
| H A D | cuda-ref-vector.cu | 27 const CeedSize copy_size = stop - start; in CeedDeviceCopyStrided_Cuda() local 28 int grid_size = copy_size / block_size; in CeedDeviceCopyStrided_Cuda() 30 if (block_size * grid_size < copy_size) grid_size += 1; in CeedDeviceCopyStrided_Cuda()
|