module { tt.func public @triton__0d1de(%arg0: !tt.ptr {tt.divisibility = 16 : i32}, %arg1: i32 {tt.divisibility = 16 : i32, tt.max_divisibility = 16 : i32}) attributes {noinline = false} { %cst = arith.constant dense<512> : tensor<256xi32> %c256_i32 = arith.constant 256 : i32 %0 = tt.get_program_id x : i32 %1 = arith.muli %0, %c256_i32 : i32 %2 = tt.make_range {end = 256 : i32, start = 0 : i32} : tensor<256xi32> %3 = tt.splat %1 : (i32) -> tensor<256xi32> %4 = arith.addi %3, %2 : tensor<256xi32> %5 = arith.cmpi slt, %4, %cst : tensor<256xi32> %6 = tt.splat %arg0 : (!tt.ptr) -> tensor<256x!tt.ptr> %7 = tt.addptr %6, %4 : tensor<256x!tt.ptr>, tensor<256xi32> %8 = arith.extsi %4 : tensor<256xi32> to tensor<256xi64> tt.store %7, %8, %5 {cache = 1 : i32, evict = 1 : i32} : tensor<256xi64> tt.return } }