code: def _to_f8_kernel(src, dest, size, block_size: tl.constexpr):
      pid = tl.program_id(0)
      offs = pid * block_size + tl.arange(0, block_size)
      mask = offs < size
      x = tl.load(src + offs, mask=mask)
      y = x.to(tl.float8e5)
      tl.store(dest + offs, y, mask=mask)
  
imports: import enum
  import itertools
  import logging
  import math
  import typing
  import torch
  import tqdm
  import triton
  import triton.language
label_desc: Use image node_id 7 for calling a global function with example usage: _to_f8_kernel(src, dest, size, block_size) without return types