Skip to content

Commit

Permalink
Print CPU information using CpuId
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Dec 10, 2019
1 parent 3e3058a commit 146fff8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ git-tree-sha1 = "a2a6a5fea4d6f730ec4c18a76d27ec10e8ec1c50"
uuid = "187b0558-2788-49d3-abe0-74a17ed4e7c9"
version = "1.0.0"

[[CpuId]]
deps = ["Markdown", "Test"]
git-tree-sha1 = "f0464e499ab9973b43c20f8216d088b61fda80c6"
uuid = "adafc99b-e345-5852-983c-f28acb93d879"
version = "0.2.2"

[[DataAPI]]
git-tree-sha1 = "674b67f344687a88310213ddfa8a2b3c76cc4252"
uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a"
Expand Down
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BangBang = "198e06fe-97b7-11e9-32a5-e1d131e6ad66"
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9"
CpuId = "adafc99b-e345-5852-983c-f28acb93d879"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
IRTest = "c9680f28-2a59-47f6-98e4-d41620d42cd2"
Expand Down
7 changes: 7 additions & 0 deletions test/test_ir.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
module TestIR

using CpuId

show(stdout, "text/plain", cpuinfo())
println()
show(stdout, "text/plain", cpufeaturetable())
println()

using IRTest
IRTest.@include("__test_ir.jl")

Expand Down

0 comments on commit 146fff8

Please sign in to comment.