Lines Matching defs:prefetch_loc
302 svm_range_set_default_attributes(int32_t *location, int32_t *prefetch_loc,
306 *prefetch_loc = KFD_IOCTL_SVM_LOCATION_UNDEFINED;
351 &prange->prefetch_loc,
761 prange->prefetch_loc = attrs[i].value;
1042 new->prefetch_loc = old->prefetch_loc;
2006 new->prefetch_loc = old->prefetch_loc;
3319 * If range map to single GPU, the best prefetch location is prefetch_loc, which
3323 * XGMI same hive, the best prefetch location is prefetch_loc GPU, othervise
3329 * prefetch_loc, other GPU access will generate vm fault and trigger migration.
3332 * hive, the best prefetch location is prefetch_loc GPU, otherwise the best
3344 uint32_t best_loc = prange->prefetch_loc;
3404 * If range prefetch_loc is cpu 0, actual loc is GPU, then migrate the range
3660 uint32_t prefetch_loc = KFD_IOCTL_SVM_LOCATION_UNDEFINED;
3721 svm_range_set_default_attributes(&location, &prefetch_loc,
3753 if (prange->prefetch_loc ==
3755 (prefetch_loc != KFD_IOCTL_SVM_LOCATION_UNDEFINED &&
3756 prefetch_loc != prange->prefetch_loc)) {
3757 prefetch_loc = KFD_IOCTL_SVM_LOCATION_UNDEFINED;
3760 prefetch_loc = prange->prefetch_loc;
3788 attrs[i].value = prefetch_loc;