Searched refs:target_array_owned (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 60 …if (!*(void **)target_array_owned) CeedCallCuda(ceed, cudaMalloc(target_array_owned, size_unit * n… in CeedSetDeviceGenericArray_Cuda() 61 *(void **)target_array = *(void **)target_array_owned; in CeedSetDeviceGenericArray_Cuda() 67 CeedCallCuda(ceed, cudaFree(*(void **)target_array_owned)); in CeedSetDeviceGenericArray_Cuda() 68 *(void **)target_array_owned = (void *)source_array; in CeedSetDeviceGenericArray_Cuda() 70 *(void **)target_array = *(void **)target_array_owned; in CeedSetDeviceGenericArray_Cuda() 73 CeedCallCuda(ceed, cudaFree(*(void **)target_array_owned)); in CeedSetDeviceGenericArray_Cuda() 74 *(void **)target_array_owned = NULL; in CeedSetDeviceGenericArray_Cuda() 81 …t bool *source_array, CeedCopyMode copy_mode, CeedSize num_values, const bool **target_array_owned, in CeedSetDeviceBoolArray_Cuda() argument 83 …rray_Cuda(ceed, source_array, copy_mode, sizeof(bool), num_values, target_array_owned, target_arra… in CeedSetDeviceBoolArray_Cuda() [all …]
|
| H A D | ceed-cuda-common.h | 80 … const bool **target_array_owned, const bool **target_array_borrowed, const bool **target_array); 82 … const CeedInt8 **target_array_owned, const CeedInt8 **target_array_borrowed, 85 … const CeedInt **target_array_owned, const CeedInt **target_array_borrowed, 88 … const CeedScalar **target_array_owned, const CeedScalar **target_array_borrowed,
|
| /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 67 …if (!*(void **)target_array_owned) CeedCallHip(ceed, hipMalloc(target_array_owned, size_unit * num… in CeedSetDeviceGenericArray_Hip() 68 *(void **)target_array = *(void **)target_array_owned; in CeedSetDeviceGenericArray_Hip() 74 CeedCallHip(ceed, hipFree(*(void **)target_array_owned)); in CeedSetDeviceGenericArray_Hip() 75 *(void **)target_array_owned = (void *)source_array; in CeedSetDeviceGenericArray_Hip() 77 *(void **)target_array = *(void **)target_array_owned; in CeedSetDeviceGenericArray_Hip() 80 CeedCallHip(ceed, hipFree(*(void **)target_array_owned)); in CeedSetDeviceGenericArray_Hip() 81 *(void **)target_array_owned = NULL; in CeedSetDeviceGenericArray_Hip() 88 …t bool *source_array, CeedCopyMode copy_mode, CeedSize num_values, const bool **target_array_owned, in CeedSetDeviceBoolArray_Hip() argument 90 …Array_Hip(ceed, source_array, copy_mode, sizeof(bool), num_values, target_array_owned, target_arra… in CeedSetDeviceBoolArray_Hip() [all …]
|
| H A D | ceed-hip-common.h | 83 … const bool **target_array_owned, const bool **target_array_borrowed, const bool **target_array); 85 … const CeedInt8 **target_array_owned, const CeedInt8 **target_array_borrowed, 88 … const CeedInt **target_array_owned, const CeedInt **target_array_borrowed, 91 … const CeedScalar **target_array_owned, const CeedScalar **target_array_borrowed,
|
| /libCEED/interface/ |
| H A D | ceed.c | 381 … void *target_array_owned, void *target_array_borrowed, void *target_array) { in CeedSetHostGenericArray() argument 388 …if (!*(void **)target_array_owned) CeedCall(CeedCallocArray(num_values, size_unit, target_array_ow… in CeedSetHostGenericArray() 389 *(void **)target_array = *(void **)target_array_owned; in CeedSetHostGenericArray() 395 CeedCall(CeedFree(target_array_owned)); in CeedSetHostGenericArray() 396 *(void **)target_array_owned = (void *)source_array; in CeedSetHostGenericArray() 398 *(void **)target_array = *(void **)target_array_owned; in CeedSetHostGenericArray() 401 CeedCall(CeedFree(target_array_owned)); in CeedSetHostGenericArray() 402 *(void **)target_array_owned = NULL; in CeedSetHostGenericArray() 422 …t bool *source_array, CeedCopyMode copy_mode, CeedSize num_values, const bool **target_array_owned, in CeedSetHostBoolArray() argument 424 …ostGenericArray(source_array, copy_mode, sizeof(bool), num_values, target_array_owned, target_arra… in CeedSetHostBoolArray() [all …]
|
| /libCEED/include/ceed/ |
| H A D | backend.h | 194 …t bool *source_array, CeedCopyMode copy_mode, CeedSize num_values, const bool **target_array_owned, 197 …const CeedInt8 **target_array_owned, const CeedInt8 **target_array_borrowed, const CeedInt8 **targ… 198 …Int *source_array, CeedCopyMode copy_mode, CeedSize num_values, const CeedInt **target_array_owned, 201 … const CeedScalar **target_array_owned, const CeedScalar **target_array_borrowed,
|