reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/openmp/libomptarget/src/api.cpp
   28   DP("Call to omp_get_num_devices returning %zd\n", Devices_size);
   34   DP("Call to omp_get_initial_device returning %d\n", HOST_DEVICE);
   39   DP("Call to omp_target_alloc for device %d requesting %zu bytes\n",
   43     DP("Call to omp_target_alloc with non-positive length\n");
   51     DP("omp_target_alloc returns host ptr " DPxMOD "\n", DPxPTR(rc));
   56     DP("omp_target_alloc returns NULL ptr\n");
   62   DP("omp_target_alloc returns device ptr " DPxMOD "\n", DPxPTR(rc));
   67   DP("Call to omp_target_free for device %d and address " DPxMOD "\n",
   71     DP("Call to omp_target_free with NULL ptr\n");
   77     DP("omp_target_free deallocated host ptr\n");
   82     DP("omp_target_free returns, nothing to do\n");
   88   DP("omp_target_free deallocated device ptr\n");
   92   DP("Call to omp_target_is_present for device %d and address " DPxMOD "\n",
   96     DP("Call to omp_target_is_present with NULL ptr, returning false\n");
  101     DP("Call to omp_target_is_present on host, returning true\n");
  109     DP("Call to omp_target_is_present with invalid device ID, returning "
  125   DP("Call to omp_target_is_present returns %d\n", rc);
  131   DP("Call to omp_target_memcpy, dst device %d, src device %d, "
  137     DP("Call to omp_target_memcpy with invalid arguments\n");
  142       DP("omp_target_memcpy returns OFFLOAD_FAIL\n");
  147       DP("omp_target_memcpy returns OFFLOAD_FAIL\n");
  157     DP("copy from host to host\n");
  162     DP("copy from host to device\n");
  166     DP("copy from device to host\n");
  170     DP("copy from device to device\n");
  179   DP("omp_target_memcpy returns %d\n", rc);
  187   DP("Call to omp_target_memcpy_rect, dst device %d, src device %d, "
  196     DP("Call to omp_target_memcpy_rect returns max supported dimensions %d\n",
  203     DP("Call to omp_target_memcpy_rect with invalid arguments\n");
  229         DP("Recursive call to omp_target_memcpy_rect returns unsuccessfully\n");
  235   DP("omp_target_memcpy_rect returns %d\n", rc);
  241   DP("Call to omp_target_associate_ptr with host_ptr " DPxMOD ", "
  246     DP("Call to omp_target_associate_ptr with invalid arguments\n");
  251     DP("omp_target_associate_ptr: no association possible on the host\n");
  256     DP("omp_target_associate_ptr returns OFFLOAD_FAIL\n");
  263   DP("omp_target_associate_ptr returns %d\n", rc);
  268   DP("Call to omp_target_disassociate_ptr with host_ptr " DPxMOD ", "
  272     DP("Call to omp_target_associate_ptr with invalid host_ptr\n");
  277     DP("omp_target_disassociate_ptr: no association possible on the host\n");
  282     DP("omp_target_disassociate_ptr returns OFFLOAD_FAIL\n");
  288   DP("omp_target_disassociate_ptr returns %d\n", rc);
projects/openmp/libomptarget/src/device.cpp
   36         DP("Attempt to re-associate the same device ptr+offset with the same "
   40         DP("Not allowed to re-associate a different device ptr+offset with the "
   58   DP("Creating new map entry: HstBase=" DPxMOD ", HstBegin=" DPxMOD ", HstEnd="
   78         DP("Association found, removing it\n");
   83         DP("Trying to disassociate a pointer which was not mapped via "
   92   DP("Association not found\n");
  104       DP("DeviceTy::getMapEntry: requested entry found\n");
  112     DP("DeviceTy::getMapEntry: requested entry not found\n");
  122   DP("Looking up mapping(HstPtrBegin=" DPxMOD ", Size=%ld)...\n", DPxPTR(hp),
  142     DP("WARNING: Pointer is not mapped but section extends into already "
  146     DP("WARNING: Pointer is already mapped but section extends beyond mapped "
  180     DP("Mapping exists%s with HstPtrBegin=" DPxMOD ", TgtPtrBegin=" DPxMOD ", "
  189     DP("Explicit extension of mapping is not allowed.\n");
  198       DP("Return HstPtrBegin " DPxMOD " Size=%ld RefCount=%s\n",
  206       DP("Creating new map entry: HstBase=" DPxMOD ", HstBegin=" DPxMOD ", "
  238     DP("Mapping exists with HstPtrBegin=" DPxMOD ", TgtPtrBegin=" DPxMOD ", "
  248     DP("Get HstPtrBegin " DPxMOD " Size=%ld RefCount=%s\n",
  286       DP("Deleting tgt data " DPxMOD " of size %ld\n",
  289       DP("Removing%s mapping with HstPtrBegin=" DPxMOD ", TgtPtrBegin=" DPxMOD
  296     DP("Section to delete (hst addr " DPxMOD ") does not exist in the allocated"
  370   DP("Checking whether device %d is ready.\n", device_num);
  377     DP("Device ID  %d does not have a matching RTL\n", device_num);
  384   DP("Is the device %d (local ID %d) initialized? %d\n", device_num,
  389     DP("Failed to init device %d\n", device_num);
  393   DP("Device %d is ready to use.\n", device_num);
projects/openmp/libomptarget/src/interface.cpp
   35       DP("Default TARGET OFFLOAD policy is now mandatory "
   39       DP("Default TARGET OFFLOAD policy is now disabled "
   96   DP("Entering data begin region for device %" PRId64 " with %d mappings\n",
  102     DP("Use default device id %" PRId64 "\n", device_id);
  106     DP("Failed to get device %" PRId64 " ready\n", device_id);
  143   DP("Entering data end region with %d mappings\n", arg_num);
  154     DP("Device ID  %" PRId64 " does not have a matching RTL.\n", device_id);
  161     DP("Uninit device: ignore");
  193   DP("Entering data update with %d mappings\n", arg_num);
  201     DP("Failed to get device %" PRId64 " ready\n", device_id);
  226   DP("Entering target region with entry point " DPxMOD " and device Id %"
  234     DP("Failed to get device %" PRId64 " ready\n", device_id);
  268   DP("Entering target region with entry point " DPxMOD " and device Id %"
  276     DP("Failed to get device %" PRId64 " ready\n", device_id);
  311   DP("__tgt_mapper_num_components(Handle=" DPxMOD ") returns %" PRId64 "\n",
  320   DP("__tgt_push_mapper_component(Handle=" DPxMOD
  339     DP("Failed to get device %" PRId64 " ready\n", device_id);
  344   DP("__kmpc_push_target_tripcount(%" PRId64 ", %" PRIu64 ")\n", device_id,
projects/openmp/libomptarget/src/omptarget.cpp
   85       DP("No image loaded for device id %d.\n", device_id);
   94       DP("Unable to generate entries table for device id %d.\n", device_id);
  107       DP("Host and Target tables mismatch for device id %d [%zx != %zx].\n",
  134         DP("Add mapping from host " DPxMOD " to device " DPxMOD " with size %zu"
  161         DP("Has pending ctors... call now\n");
  167             DP("Running ctor " DPxMOD " failed.\n", DPxPTR(ctor));
  174         DP("Done with pending ctors for lib " DPxMOD "\n", DPxPTR(lib.first));
  189     DP("Device %" PRId64 " is not ready.\n", device_id);
  201     DP("Failed to init globals on device %" PRId64 "\n", device_id);
  235         DP("Using a padding of %" PRId64 " bytes for begin address " DPxMOD
  257       DP("Has a pointer entry: \n");
  263         DP("Call to getOrAllocTgtPtr returned null pointer (device failure or "
  267       DP("There are %zu bytes allocated at target address " DPxMOD " - is%s new"
  281       DP("Call to getOrAllocTgtPtr returned null pointer (device failure or "
  284     DP("There are %" PRId64 " bytes allocated at target address " DPxMOD
  291       DP("Returning device pointer " DPxMOD "\n", DPxPTR(TgtPtrBase));
  313         DP("Moving %" PRId64 " bytes (hst:" DPxMOD ") -> (tgt:" DPxMOD ")\n",
  317           DP("Copying data to device failed.\n");
  324       DP("Update pointer (" DPxMOD ") -> [" DPxMOD "]\n",
  331         DP("Copying data to device failed.\n");
  367         DP("Using a padding of %" PRId64 " bytes for begin address " DPxMOD
  383     DP("There are %" PRId64 " bytes allocated at target address " DPxMOD
  416           DP("Moving %" PRId64 " bytes (tgt:" DPxMOD ") -> (hst:" DPxMOD ")\n",
  420             DP("Copying data from device failed.\n");
  448           DP("Restoring original host pointer value " DPxMOD " for host "
  455           DP("Removing shadow pointer " DPxMOD "\n", DPxPTR(ShadowHstPtrAddr));
  468           DP("Deallocating data from device failed.\n");
  493       DP("hst data:" DPxMOD " not found, becomes a noop\n", DPxPTR(HstPtrBegin));
  499       DP("hst data:" DPxMOD " unified and shared, becomes a noop\n",
  505       DP("Moving %" PRId64 " bytes (tgt:" DPxMOD ") -> (hst:" DPxMOD ")\n",
  509         DP("Copying data from device failed.\n");
  523         DP("Restoring original host pointer value " DPxMOD " for host pointer "
  532       DP("Moving %" PRId64 " bytes (hst:" DPxMOD ") -> (tgt:" DPxMOD ")\n",
  536         DP("Copying data to device failed.\n");
  550         DP("Restoring original target pointer value " DPxMOD " for target "
  556           DP("Copying data to device failed.\n");
  623     DP("Host ptr " DPxMOD " does not have a matching target pointer.\n",
  640     DP("Call to target_data_begin failed, abort target.\n");
  669         DP("Parent lambda base " DPxMOD "\n", DPxPTR(TgtPtrBase));
  676           DP("No lambda captured variable mapped (" DPxMOD ") - ignored\n",
  682           DP("Unified memory is active, no need to map lambda captured"
  686         DP("Update lambda reference (" DPxMOD ") -> [" DPxMOD "]\n",
  691           DP("Copying data to device failed.\n");
  703       DP("Forwarding first-private value " DPxMOD " to the target construct\n",
  712         DP ("Data allocation for %sprivate array " DPxMOD " failed, "
  732           DP ("Copying data to device failed, failed.\n");
  740       DP("Obtained target argument " DPxMOD " from host pointer " DPxMOD " to "
  768     DP("loop trip count is %lu.\n", ltc);
  773   DP("Launching target execution %s with pointer " DPxMOD " (index=%d).\n",
  785     DP ("Executing target region abort target.\n");
  793       DP("Deallocation of (first-)private arrays failed.\n");
  802     DP("Call to target_data_end failed, abort targe.\n");
projects/openmp/libomptarget/src/rtl.cpp
   53   DP("Loading RTLs...\n");
   58     DP("Loading library '%s'...\n", Name);
   63       DP("Unable to load library '%s': %s!\n", Name, dlerror());
   67     DP("Successfully loaded library '%s'!\n", Name);
  116       DP("No devices supported in this RTL\n");
  120     DP("Registering RTL %s supporting %d devices!\n",
  127   DP("RTLs loaded!\n");
  174         DP("Adding ctor " DPxMOD " to the pending list.\n",
  180         DP("Adding dtor " DPxMOD " to the pending list.\n",
  186         DP("The \"link\" attribute is not yet supported!\n");
  229   DP("New requires flags %ld compatible with existing %ld!\n",
  249         DP("Image " DPxMOD " is NOT compatible with RTL %s!\n",
  254       DP("Image " DPxMOD " is compatible with RTL %s!\n",
  281         DP("RTL " DPxMOD " has index %d!\n", DPxPTR(R.LibraryHandler), R.Idx);
  297       DP("Registering image " DPxMOD " with RTL %s!\n",
  311       DP("No RTL found for image " DPxMOD "!\n", DPxPTR(img->ImageStart));
  317   DP("Done registering entries!\n");
  321   DP("Unloading target library!\n");
  338         DP("Image " DPxMOD " is NOT compatible with RTL " DPxMOD "!\n",
  343       DP("Image " DPxMOD " is compatible with RTL " DPxMOD "!\n",
  358               DP("Running destructor " DPxMOD " failed.\n", DPxPTR(dtor));
  367       DP("Unregistered image " DPxMOD " from RTL " DPxMOD "!\n",
  375       DP("No RTLs in use support the image " DPxMOD "!\n",
  380   DP("Done unregistering images!\n");
  392     DP("Removing translation table for descriptor " DPxMOD "\n",
  396     DP("Translation table for descriptor " DPxMOD " cannot be found, probably "
  405   DP("Done unregistering library!\n");