From d4a3161c28ff33b8a1a1e14e86ff0c875521f6de Mon Sep 17 00:00:00 2001 From: Yifan Sun Date: Wed, 6 Dec 2023 09:21:24 -0500 Subject: [PATCH] Include accelsim_tracing in linting --- acceclsim_tracing/go.mod | 5 ----- acceclsim_tracing/go.sum | 2 -- {acceclsim_tracing => accelsim_tracing}/.gitignore | 0 {acceclsim_tracing => accelsim_tracing}/README.md | Bin {acceclsim_tracing => accelsim_tracing}/alu/alu.go | 2 +- .../alu/builder.go | 2 +- .../alu/int32.go | 2 +- .../benchmark/build.go | 4 ++-- .../gpc/builder.go | 4 ++-- .../gpc/default.go | 2 +- .../gpc/dispatcher.go | 2 +- .../gpu/builder.go | 5 +++-- .../gpu/default.go | 2 +- .../gpu/dispatcher.go | 2 +- .../nvidia/byte.go | 0 .../nvidia/dim3.go | 0 .../nvidia/opcode.go | 0 .../nvidia/register.go | 0 .../nvidia/thread_block.go | 0 .../sm/builder.go | 4 ++-- .../sm/default.go | 2 +- .../sm/dispacther.go | 2 +- .../smunit/builder.go | 4 ++-- .../smunit/default.go | 2 +- .../smunit/dispatcher.go | 2 +- .../smunit/registerfile.go | 0 .../trace/convert.go | 2 +- .../trace/kernel.go | 2 +- .../trace/memory_copy.go | 2 +- .../trace/thread_block.go | 2 +- .../trace/trace.go | 2 +- .../trace/trace_execs.go | 2 +- .../trace/trace_group.go | 2 +- .../trace/trace_header.go | 4 +++- .../trace/warp.go | 2 +- {acceclsim_tracing => accelsim_tracing}/tracer.go | 6 +++--- 36 files changed, 36 insertions(+), 40 deletions(-) delete mode 100644 acceclsim_tracing/go.mod delete mode 100644 acceclsim_tracing/go.sum rename {acceclsim_tracing => accelsim_tracing}/.gitignore (100%) rename {acceclsim_tracing => accelsim_tracing}/README.md (100%) rename {acceclsim_tracing => accelsim_tracing}/alu/alu.go (80%) rename {acceclsim_tracing => accelsim_tracing}/alu/builder.go (91%) rename {acceclsim_tracing => accelsim_tracing}/alu/int32.go (80%) rename {acceclsim_tracing => accelsim_tracing}/benchmark/build.go (87%) rename {acceclsim_tracing => accelsim_tracing}/gpc/builder.go (95%) rename {acceclsim_tracing => accelsim_tracing}/gpc/default.go (87%) rename {acceclsim_tracing => accelsim_tracing}/gpc/dispatcher.go (82%) rename {acceclsim_tracing => accelsim_tracing}/gpu/builder.go (94%) rename {acceclsim_tracing => accelsim_tracing}/gpu/default.go (89%) rename {acceclsim_tracing => accelsim_tracing}/gpu/dispatcher.go (82%) rename {acceclsim_tracing => accelsim_tracing}/nvidia/byte.go (100%) rename {acceclsim_tracing => accelsim_tracing}/nvidia/dim3.go (100%) rename {acceclsim_tracing => accelsim_tracing}/nvidia/opcode.go (100%) rename {acceclsim_tracing => accelsim_tracing}/nvidia/register.go (100%) rename {acceclsim_tracing => accelsim_tracing}/nvidia/thread_block.go (100%) rename {acceclsim_tracing => accelsim_tracing}/sm/builder.go (94%) rename {acceclsim_tracing => accelsim_tracing}/sm/default.go (89%) rename {acceclsim_tracing => accelsim_tracing}/sm/dispacther.go (82%) rename {acceclsim_tracing => accelsim_tracing}/smunit/builder.go (93%) rename {acceclsim_tracing => accelsim_tracing}/smunit/default.go (82%) rename {acceclsim_tracing => accelsim_tracing}/smunit/dispatcher.go (83%) rename {acceclsim_tracing => accelsim_tracing}/smunit/registerfile.go (100%) rename {acceclsim_tracing => accelsim_tracing}/trace/convert.go (94%) rename {acceclsim_tracing => accelsim_tracing}/trace/kernel.go (87%) rename {acceclsim_tracing => accelsim_tracing}/trace/memory_copy.go (83%) rename {acceclsim_tracing => accelsim_tracing}/trace/thread_block.go (94%) rename {acceclsim_tracing => accelsim_tracing}/trace/trace.go (94%) rename {acceclsim_tracing => accelsim_tracing}/trace/trace_execs.go (93%) rename {acceclsim_tracing => accelsim_tracing}/trace/trace_group.go (97%) rename {acceclsim_tracing => accelsim_tracing}/trace/trace_header.go (97%) rename {acceclsim_tracing => accelsim_tracing}/trace/warp.go (97%) rename {acceclsim_tracing => accelsim_tracing}/tracer.go (86%) diff --git a/acceclsim_tracing/go.mod b/acceclsim_tracing/go.mod deleted file mode 100644 index 56c8d002..00000000 --- a/acceclsim_tracing/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/sarchlab/mgpusim/accelsim_tracing - -go 1.16 - -require github.com/davecgh/go-spew v1.1.1 diff --git a/acceclsim_tracing/go.sum b/acceclsim_tracing/go.sum deleted file mode 100644 index b5e2922e..00000000 --- a/acceclsim_tracing/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/acceclsim_tracing/.gitignore b/accelsim_tracing/.gitignore similarity index 100% rename from acceclsim_tracing/.gitignore rename to accelsim_tracing/.gitignore diff --git a/acceclsim_tracing/README.md b/accelsim_tracing/README.md similarity index 100% rename from acceclsim_tracing/README.md rename to accelsim_tracing/README.md diff --git a/acceclsim_tracing/alu/alu.go b/accelsim_tracing/alu/alu.go similarity index 80% rename from acceclsim_tracing/alu/alu.go rename to accelsim_tracing/alu/alu.go index 1a65ff24..71b05002 100644 --- a/acceclsim_tracing/alu/alu.go +++ b/accelsim_tracing/alu/alu.go @@ -1,6 +1,6 @@ package alu -import "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" type ALU interface { withParent(aluGroup *ALUGroup) ALU diff --git a/acceclsim_tracing/alu/builder.go b/accelsim_tracing/alu/builder.go similarity index 91% rename from acceclsim_tracing/alu/builder.go rename to accelsim_tracing/alu/builder.go index e14767ac..921f6780 100644 --- a/acceclsim_tracing/alu/builder.go +++ b/accelsim_tracing/alu/builder.go @@ -1,6 +1,6 @@ package alu -import "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" type ALUGroup struct { meta *aluGroupMetaData diff --git a/acceclsim_tracing/alu/int32.go b/accelsim_tracing/alu/int32.go similarity index 80% rename from acceclsim_tracing/alu/int32.go rename to accelsim_tracing/alu/int32.go index 8b12e503..caa45c68 100644 --- a/acceclsim_tracing/alu/int32.go +++ b/accelsim_tracing/alu/int32.go @@ -1,6 +1,6 @@ package alu -import "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" type int32ALU struct { parent *ALUGroup diff --git a/acceclsim_tracing/benchmark/build.go b/accelsim_tracing/benchmark/build.go similarity index 87% rename from acceclsim_tracing/benchmark/build.go rename to accelsim_tracing/benchmark/build.go index a0acfe67..6f6dd01e 100644 --- a/acceclsim_tracing/benchmark/build.go +++ b/accelsim_tracing/benchmark/build.go @@ -3,8 +3,8 @@ package benchmark import ( "errors" - "github.com/sarchlab/mgpusim/accelsim_tracing/gpu" - "github.com/sarchlab/mgpusim/accelsim_tracing/trace" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/gpu" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/trace" ) type BenchMark struct { diff --git a/acceclsim_tracing/gpc/builder.go b/accelsim_tracing/gpc/builder.go similarity index 95% rename from acceclsim_tracing/gpc/builder.go rename to accelsim_tracing/gpc/builder.go index b98a1088..55da0ebe 100644 --- a/acceclsim_tracing/gpc/builder.go +++ b/accelsim_tracing/gpc/builder.go @@ -1,8 +1,8 @@ package gpc import ( - "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" - "github.com/sarchlab/mgpusim/accelsim_tracing/sm" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/sm" ) type GPC struct { diff --git a/acceclsim_tracing/gpc/default.go b/accelsim_tracing/gpc/default.go similarity index 87% rename from acceclsim_tracing/gpc/default.go rename to accelsim_tracing/gpc/default.go index 83f1c43a..40a8b5ab 100644 --- a/acceclsim_tracing/gpc/default.go +++ b/accelsim_tracing/gpc/default.go @@ -1,6 +1,6 @@ package gpc -import "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" type defaultDispatcher struct { parent *GPC diff --git a/acceclsim_tracing/gpc/dispatcher.go b/accelsim_tracing/gpc/dispatcher.go similarity index 82% rename from acceclsim_tracing/gpc/dispatcher.go rename to accelsim_tracing/gpc/dispatcher.go index 3779f710..a9eed59d 100644 --- a/acceclsim_tracing/gpc/dispatcher.go +++ b/accelsim_tracing/gpc/dispatcher.go @@ -1,6 +1,6 @@ package gpc -import "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" type gpcDispatcher interface { withParent(gpc *GPC) gpcDispatcher diff --git a/acceclsim_tracing/gpu/builder.go b/accelsim_tracing/gpu/builder.go similarity index 94% rename from acceclsim_tracing/gpu/builder.go rename to accelsim_tracing/gpu/builder.go index 7396caef..2fa5f671 100644 --- a/acceclsim_tracing/gpu/builder.go +++ b/accelsim_tracing/gpu/builder.go @@ -1,8 +1,8 @@ package gpu import ( - "github.com/sarchlab/mgpusim/accelsim_tracing/gpc" - "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/gpc" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" ) type GPU struct { @@ -144,6 +144,7 @@ func (g *GPU) Build() { } } +// RunThreadBlock runs a threadblock on the GPU // [todo] how to handle the relationship between trace.threadblock and truethreadblock func (g *GPU) RunThreadBlock(tb *nvidia.ThreadBlock) { g.dispatcher.dispatch(tb) diff --git a/acceclsim_tracing/gpu/default.go b/accelsim_tracing/gpu/default.go similarity index 89% rename from acceclsim_tracing/gpu/default.go rename to accelsim_tracing/gpu/default.go index f23f9aab..56fc9101 100644 --- a/acceclsim_tracing/gpu/default.go +++ b/accelsim_tracing/gpu/default.go @@ -1,7 +1,7 @@ package gpu import ( - "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" ) type defaultDispatcher struct { diff --git a/acceclsim_tracing/gpu/dispatcher.go b/accelsim_tracing/gpu/dispatcher.go similarity index 82% rename from acceclsim_tracing/gpu/dispatcher.go rename to accelsim_tracing/gpu/dispatcher.go index 4637b5b6..515ab81a 100644 --- a/acceclsim_tracing/gpu/dispatcher.go +++ b/accelsim_tracing/gpu/dispatcher.go @@ -1,6 +1,6 @@ package gpu -import "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" type gpuDispatcher interface { withParent(gpu *GPU) gpuDispatcher diff --git a/acceclsim_tracing/nvidia/byte.go b/accelsim_tracing/nvidia/byte.go similarity index 100% rename from acceclsim_tracing/nvidia/byte.go rename to accelsim_tracing/nvidia/byte.go diff --git a/acceclsim_tracing/nvidia/dim3.go b/accelsim_tracing/nvidia/dim3.go similarity index 100% rename from acceclsim_tracing/nvidia/dim3.go rename to accelsim_tracing/nvidia/dim3.go diff --git a/acceclsim_tracing/nvidia/opcode.go b/accelsim_tracing/nvidia/opcode.go similarity index 100% rename from acceclsim_tracing/nvidia/opcode.go rename to accelsim_tracing/nvidia/opcode.go diff --git a/acceclsim_tracing/nvidia/register.go b/accelsim_tracing/nvidia/register.go similarity index 100% rename from acceclsim_tracing/nvidia/register.go rename to accelsim_tracing/nvidia/register.go diff --git a/acceclsim_tracing/nvidia/thread_block.go b/accelsim_tracing/nvidia/thread_block.go similarity index 100% rename from acceclsim_tracing/nvidia/thread_block.go rename to accelsim_tracing/nvidia/thread_block.go diff --git a/acceclsim_tracing/sm/builder.go b/accelsim_tracing/sm/builder.go similarity index 94% rename from acceclsim_tracing/sm/builder.go rename to accelsim_tracing/sm/builder.go index 961cd38c..20d53cc3 100644 --- a/acceclsim_tracing/sm/builder.go +++ b/accelsim_tracing/sm/builder.go @@ -1,8 +1,8 @@ package sm import ( - "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" - "github.com/sarchlab/mgpusim/accelsim_tracing/smunit" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/smunit" ) type SM struct { diff --git a/acceclsim_tracing/sm/default.go b/accelsim_tracing/sm/default.go similarity index 89% rename from acceclsim_tracing/sm/default.go rename to accelsim_tracing/sm/default.go index eb9df6ce..d13f70f5 100644 --- a/acceclsim_tracing/sm/default.go +++ b/accelsim_tracing/sm/default.go @@ -1,6 +1,6 @@ package sm -import "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" type defaultDispatcher struct { parent *SM diff --git a/acceclsim_tracing/sm/dispacther.go b/accelsim_tracing/sm/dispacther.go similarity index 82% rename from acceclsim_tracing/sm/dispacther.go rename to accelsim_tracing/sm/dispacther.go index a7f4a823..6d2a2a61 100644 --- a/acceclsim_tracing/sm/dispacther.go +++ b/accelsim_tracing/sm/dispacther.go @@ -1,6 +1,6 @@ package sm -import "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" type smDispatcher interface { withParent(sm *SM) smDispatcher diff --git a/acceclsim_tracing/smunit/builder.go b/accelsim_tracing/smunit/builder.go similarity index 93% rename from acceclsim_tracing/smunit/builder.go rename to accelsim_tracing/smunit/builder.go index 73ed0556..e5cd94ec 100644 --- a/acceclsim_tracing/smunit/builder.go +++ b/accelsim_tracing/smunit/builder.go @@ -1,8 +1,8 @@ package smunit import ( - "github.com/sarchlab/mgpusim/accelsim_tracing/alu" - "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/alu" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" ) type SMUnit struct { diff --git a/acceclsim_tracing/smunit/default.go b/accelsim_tracing/smunit/default.go similarity index 82% rename from acceclsim_tracing/smunit/default.go rename to accelsim_tracing/smunit/default.go index a29aa747..220fd191 100644 --- a/acceclsim_tracing/smunit/default.go +++ b/accelsim_tracing/smunit/default.go @@ -1,6 +1,6 @@ package smunit -import "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" type defaultDispatcher struct { parent *SMUnit diff --git a/acceclsim_tracing/smunit/dispatcher.go b/accelsim_tracing/smunit/dispatcher.go similarity index 83% rename from acceclsim_tracing/smunit/dispatcher.go rename to accelsim_tracing/smunit/dispatcher.go index e1c9bb9e..125be691 100644 --- a/acceclsim_tracing/smunit/dispatcher.go +++ b/accelsim_tracing/smunit/dispatcher.go @@ -1,6 +1,6 @@ package smunit -import "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" type smUnitDispatcher interface { withParent(sm *SMUnit) smUnitDispatcher diff --git a/acceclsim_tracing/smunit/registerfile.go b/accelsim_tracing/smunit/registerfile.go similarity index 100% rename from acceclsim_tracing/smunit/registerfile.go rename to accelsim_tracing/smunit/registerfile.go diff --git a/acceclsim_tracing/trace/convert.go b/accelsim_tracing/trace/convert.go similarity index 94% rename from acceclsim_tracing/trace/convert.go rename to accelsim_tracing/trace/convert.go index 65cbe8a1..aa1fdca2 100644 --- a/acceclsim_tracing/trace/convert.go +++ b/accelsim_tracing/trace/convert.go @@ -1,6 +1,6 @@ package trace -import "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" func (tb *threadBlock) generateNVThreadBlock() *nvidia.ThreadBlock { nvtb := &nvidia.ThreadBlock{ diff --git a/acceclsim_tracing/trace/kernel.go b/accelsim_tracing/trace/kernel.go similarity index 87% rename from acceclsim_tracing/trace/kernel.go rename to accelsim_tracing/trace/kernel.go index 680fc7fa..86ace4ec 100644 --- a/acceclsim_tracing/trace/kernel.go +++ b/accelsim_tracing/trace/kernel.go @@ -3,7 +3,7 @@ package trace import ( "path" - "github.com/sarchlab/mgpusim/accelsim_tracing/gpu" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/gpu" ) type kernel struct { // trace execs interface diff --git a/acceclsim_tracing/trace/memory_copy.go b/accelsim_tracing/trace/memory_copy.go similarity index 83% rename from acceclsim_tracing/trace/memory_copy.go rename to accelsim_tracing/trace/memory_copy.go index 2a19c21c..2acf02ad 100644 --- a/acceclsim_tracing/trace/memory_copy.go +++ b/accelsim_tracing/trace/memory_copy.go @@ -1,6 +1,6 @@ package trace -import "github.com/sarchlab/mgpusim/accelsim_tracing/gpu" +import "github.com/sarchlab/mgpusim/v3/accelsim_tracing/gpu" type memCopy struct { // trace execs interface parent *Trace diff --git a/acceclsim_tracing/trace/thread_block.go b/accelsim_tracing/trace/thread_block.go similarity index 94% rename from acceclsim_tracing/trace/thread_block.go rename to accelsim_tracing/trace/thread_block.go index 1b84cc6a..9c96537c 100644 --- a/acceclsim_tracing/trace/thread_block.go +++ b/accelsim_tracing/trace/thread_block.go @@ -5,7 +5,7 @@ import ( "log" "strings" - "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" ) type threadBlock struct { diff --git a/acceclsim_tracing/trace/trace.go b/accelsim_tracing/trace/trace.go similarity index 94% rename from acceclsim_tracing/trace/trace.go rename to accelsim_tracing/trace/trace.go index b8f62f65..da8a7516 100644 --- a/acceclsim_tracing/trace/trace.go +++ b/accelsim_tracing/trace/trace.go @@ -6,7 +6,7 @@ import ( "os" "path" - "github.com/sarchlab/mgpusim/accelsim_tracing/gpu" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/gpu" ) type Trace struct { diff --git a/acceclsim_tracing/trace/trace_execs.go b/accelsim_tracing/trace/trace_execs.go similarity index 93% rename from acceclsim_tracing/trace/trace_execs.go rename to accelsim_tracing/trace/trace_execs.go index d080b1b8..a2c81c15 100644 --- a/acceclsim_tracing/trace/trace_execs.go +++ b/accelsim_tracing/trace/trace_execs.go @@ -5,7 +5,7 @@ import ( "log" "strings" - "github.com/sarchlab/mgpusim/accelsim_tracing/gpu" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/gpu" ) type traceExecs interface { diff --git a/acceclsim_tracing/trace/trace_group.go b/accelsim_tracing/trace/trace_group.go similarity index 97% rename from acceclsim_tracing/trace/trace_group.go rename to accelsim_tracing/trace/trace_group.go index 66b021e7..edd930a1 100644 --- a/acceclsim_tracing/trace/trace_group.go +++ b/accelsim_tracing/trace/trace_group.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/sarchlab/mgpusim/accelsim_tracing/gpu" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/gpu" ) type traceGroup struct { diff --git a/acceclsim_tracing/trace/trace_header.go b/accelsim_tracing/trace/trace_header.go similarity index 97% rename from acceclsim_tracing/trace/trace_header.go rename to accelsim_tracing/trace/trace_header.go index 3d7b480d..d43b7462 100644 --- a/acceclsim_tracing/trace/trace_header.go +++ b/accelsim_tracing/trace/trace_header.go @@ -5,7 +5,7 @@ import ( "log" "strings" - "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" ) type traceHeader struct { @@ -56,6 +56,8 @@ func parseHeaderParam(lines []string) *traceHeader { } // Shaoyu: Maybe we can parse the attrs in order and avoid using swicth-case here +// +//nolint:funlen,gocyclo func (th *traceHeader) updateParam(key string, value string, rawText string) { err := error(nil) switch key { diff --git a/acceclsim_tracing/trace/warp.go b/accelsim_tracing/trace/warp.go similarity index 97% rename from acceclsim_tracing/trace/warp.go rename to accelsim_tracing/trace/warp.go index abcb99f3..a95515dc 100644 --- a/acceclsim_tracing/trace/warp.go +++ b/accelsim_tracing/trace/warp.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" ) type warp struct { diff --git a/acceclsim_tracing/tracer.go b/accelsim_tracing/tracer.go similarity index 86% rename from acceclsim_tracing/tracer.go rename to accelsim_tracing/tracer.go index d07a553d..583bb381 100644 --- a/acceclsim_tracing/tracer.go +++ b/accelsim_tracing/tracer.go @@ -5,9 +5,9 @@ import ( "fmt" "log" - "github.com/sarchlab/mgpusim/accelsim_tracing/benchmark" - "github.com/sarchlab/mgpusim/accelsim_tracing/gpu" - "github.com/sarchlab/mgpusim/accelsim_tracing/nvidia" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/benchmark" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/gpu" + "github.com/sarchlab/mgpusim/v3/accelsim_tracing/nvidia" ) type inputArguments struct {