Acceleration of brain cancer detection algorithms during surgery procedures using GPUs