Searched refs:target_array (Results 1 – 6 of 6) sorted by relevance
| /libCEED/backends/cuda/ |
| H A D | ceed-cuda-common.c | 53 … void *target_array_owned, void *target_array_borrowed, void *target_array) { in CeedSetDeviceGenericArray_Cuda() argument 56 if (!*(void **)target_array) { in CeedSetDeviceGenericArray_Cuda() 58 *(void **)target_array = *(void **)target_array_borrowed; in CeedSetDeviceGenericArray_Cuda() 61 *(void **)target_array = *(void **)target_array_owned; in CeedSetDeviceGenericArray_Cuda() 64 …if (source_array) CeedCallCuda(ceed, cudaMemcpy(*(void **)target_array, source_array, size_unit * … in CeedSetDeviceGenericArray_Cuda() 70 *(void **)target_array = *(void **)target_array_owned; in CeedSetDeviceGenericArray_Cuda() 76 *(void **)target_array = *(void **)target_array_borrowed; in CeedSetDeviceGenericArray_Cuda() 82 const bool **target_array_borrowed, const bool **target_array) { in CeedSetDeviceBoolArray_Cuda() 84 target_array)); in CeedSetDeviceBoolArray_Cuda() 89 …Int8 **target_array_owned, const CeedInt8 **target_array_borrowed, const CeedInt8 **target_array) { in CeedSetDeviceCeedInt8Array_Cuda() argument [all …]
|
| H A D | ceed-cuda-common.h | 80 … const bool **target_array_owned, const bool **target_array_borrowed, const bool **target_array); 83 const CeedInt8 **target_array); 86 const CeedInt **target_array); 89 const CeedScalar **target_array);
|
| /libCEED/backends/hip/ |
| H A D | ceed-hip-common.c | 60 … void *target_array_owned, void *target_array_borrowed, void *target_array) { in CeedSetDeviceGenericArray_Hip() argument 63 if (!*(void **)target_array) { in CeedSetDeviceGenericArray_Hip() 65 *(void **)target_array = *(void **)target_array_borrowed; in CeedSetDeviceGenericArray_Hip() 68 *(void **)target_array = *(void **)target_array_owned; in CeedSetDeviceGenericArray_Hip() 71 …if (source_array) CeedCallHip(ceed, hipMemcpy(*(void **)target_array, source_array, size_unit * nu… in CeedSetDeviceGenericArray_Hip() 77 *(void **)target_array = *(void **)target_array_owned; in CeedSetDeviceGenericArray_Hip() 83 *(void **)target_array = *(void **)target_array_borrowed; in CeedSetDeviceGenericArray_Hip() 89 const bool **target_array_borrowed, const bool **target_array) { in CeedSetDeviceBoolArray_Hip() 91 target_array)); in CeedSetDeviceBoolArray_Hip() 96 …Int8 **target_array_owned, const CeedInt8 **target_array_borrowed, const CeedInt8 **target_array) { in CeedSetDeviceCeedInt8Array_Hip() argument [all …]
|
| H A D | ceed-hip-common.h | 83 … const bool **target_array_owned, const bool **target_array_borrowed, const bool **target_array); 86 const CeedInt8 **target_array); 89 const CeedInt **target_array); 92 const CeedScalar **target_array);
|
| /libCEED/interface/ |
| H A D | ceed.c | 381 … void *target_array_owned, void *target_array_borrowed, void *target_array) { in CeedSetHostGenericArray() argument 384 if (!*(void **)target_array) { in CeedSetHostGenericArray() 386 *(void **)target_array = *(void **)target_array_borrowed; in CeedSetHostGenericArray() 389 *(void **)target_array = *(void **)target_array_owned; in CeedSetHostGenericArray() 392 if (source_array) memcpy(*(void **)target_array, source_array, size_unit * num_values); in CeedSetHostGenericArray() 398 *(void **)target_array = *(void **)target_array_owned; in CeedSetHostGenericArray() 404 *(void **)target_array = *(void **)target_array_borrowed; in CeedSetHostGenericArray() 423 const bool **target_array_borrowed, const bool **target_array) { in CeedSetHostBoolArray() 424 …ay, copy_mode, sizeof(bool), num_values, target_array_owned, target_array_borrowed, target_array)); in CeedSetHostBoolArray() 442 … const CeedInt8 **target_array_borrowed, const CeedInt8 **target_array) { in CeedSetHostCeedInt8Array() [all …]
|
| /libCEED/include/ceed/ |
| H A D | backend.h | 195 const bool **target_array_borrowed, const bool **target_array); 197 …dInt8 **target_array_owned, const CeedInt8 **target_array_borrowed, const CeedInt8 **target_array); 199 … const CeedInt **target_array_borrowed, const CeedInt **target_array); 202 const CeedScalar **target_array);
|