Skip to content
Snippets Groups Projects
Commit 03bd361f authored by David Hammer's avatar David Hammer
Browse files

Remove wrong logging call, add notice after pinning shmem

parent a987b9ef
No related branches found
No related tags found
2 merge requests!12Snapshot: field test deployed version as of end of run 202201,!3Base correction device, CalCat interaction, DSSC and AGIPD devices
...@@ -221,7 +221,6 @@ class AgipdGpuRunner(base_gpu.BaseGpuRunner): ...@@ -221,7 +221,6 @@ class AgipdGpuRunner(base_gpu.BaseGpuRunner):
self.g_gain_value = cupy.float32(override_value) self.g_gain_value = cupy.float32(override_value)
def load_bad_pixels_map(self, bad_pixels_map, override_flags_to_use=None): def load_bad_pixels_map(self, bad_pixels_map, override_flags_to_use=None):
self.log_status_info(f"Loading bad pixels with shape: {bad_pixels_map.shape}")
# will simply OR with already loaded, does not take into account which ones # will simply OR with already loaded, does not take into account which ones
# TODO: inquire what "mask for double size pixels" means # TODO: inquire what "mask for double size pixels" means
if len(bad_pixels_map.shape) == 3: if len(bad_pixels_map.shape) == 3:
......
...@@ -887,6 +887,7 @@ class BaseCorrection(PythonDevice): ...@@ -887,6 +887,7 @@ class BaseCorrection(PythonDevice):
) )
self.log.INFO("Trying to pin the shmem buffer memory") self.log.INFO("Trying to pin the shmem buffer memory")
self._shmem_buffer.cuda_pin() self._shmem_buffer.cuda_pin()
self.log.INFO("Done, shmem buffer is ready")
else: else:
self._shmem_buffer.change_shape(self.output_data_shape) self._shmem_buffer.change_shape(self.output_data_shape)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment