def METHOD_NAME(args, cycles):
  m           = int(args[0])
  n           = int(args[1])
  p           = int(args[2])
  if (m == n and n == p):
    size = m
  else:
    sys.exit('Unimplemented return value for performance function if !(M == N == P) in "' + kernel)
  performance = 2 * size * size * size / cycles
  return [size, performance]