CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
51 lines
2.2 KiB
LLVM
51 lines
2.2 KiB
LLVM
; REQUIRES: have_tflite
|
|
; REQUIRES: x86_64-linux
|
|
;
|
|
; Check that we log correctly, both with a learned policy, and the default policy
|
|
;
|
|
; RUN: llc -o /dev/null -mtriple=x86_64-linux-unknown -regalloc=greedy \
|
|
; RUN: -regalloc-enable-advisor=development -regalloc-training-log=%t1 < %S/Inputs/input.ll
|
|
; RUN: %python %S/../../../lib/Analysis/models/log_reader.py %t1 > %t1.readable
|
|
; RUN: FileCheck --input-file %t1.readable %s --check-prefixes=CHECK,NOML
|
|
; RUN: diff %t1.readable %S/Inputs/reference-log-noml.txt
|
|
|
|
; RUN: rm -rf %t_savedmodel %t
|
|
; RUN: %python %S/../../../lib/Analysis/models/gen-regalloc-eviction-test-model.py %t_savedmodel
|
|
; RUN: %python %S/../../../lib/Analysis/models/saved-model-to-tflite.py %t_savedmodel %t
|
|
; RUN: llc -o /dev/null -mtriple=x86_64-linux-unknown -regalloc=greedy \
|
|
; RUN: -regalloc-enable-advisor=development -regalloc-training-log=%t2 \
|
|
; RUN: -regalloc-model=%t < %S/Inputs/input.ll
|
|
; RUN: %python %S/../../../lib/Analysis/models/log_reader.py %t2 > %t2.readable
|
|
; RUN: FileCheck --input-file %t2.readable %s --check-prefixes=CHECK,ML
|
|
|
|
; RUN: llc -o /dev/null -mtriple=x86_64-linux-unknown -regalloc=greedy \
|
|
; RUN: -regalloc-enable-advisor=development -regalloc-training-log=%t3.log < %S/Inputs/two-large-fcts.ll
|
|
; RUN: %python %S/../../../lib/Analysis/models/log_reader.py %t3.log | FileCheck %s --check-prefixes=CHECK-TWO-FCTS
|
|
|
|
; CHECK-NOT: nan
|
|
; CHECK-LABEL: context: SyFgets
|
|
; CHECK-NEXT: observation: 0
|
|
; ML: index_to_evict: 9
|
|
; NOML: index_to_evict: 11
|
|
; CHECK-NEXT: reward: 0
|
|
; CHECK-NEXT: observation: 1
|
|
; CHECK-NEXT: mask:
|
|
; NOML: observation: 17
|
|
; ML: observation: 83
|
|
; ML: reward: 38.97
|
|
; NOML: reward: 37.60
|
|
|
|
|
|
; CHECK-TWO-FCTS: context: SyFgets
|
|
; CHECK-TWO-FCTS-NEXT: observation: 0
|
|
; CHECK-TWO-FCTS-NEXT: mask: 0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
|
|
; CHECK-TWO-FCTS: index_to_evict: 11
|
|
; CHECK-TWO-FCTS: observation: 17
|
|
; CHECK-TWO-FCTS: reward: 37.60
|
|
; CHECK-TWO-FCTS: context: SyFgetsCopy
|
|
; CHECK-TWO-FCTS-NEXT: observation: 0
|
|
; CHECK-TWO-FCTS-NEXT: mask: 0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
|
|
; CHECK-TWO-FCTS: index_to_evict: 11
|
|
; CHECK-TWO-FCTS: observation: 17
|
|
; CHECK-TWO-FCTS: reward: 37.60
|