OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nCPU
(Results
1 - 4
of
4
) sorted by null
/prebuilts/go/darwin-x86/test/bench/shootout/
spectral-norm-parallel.go
47
var
nCPU
= flag.Int("
ncpu
", 4, "number of cpus")
74
for i := 0; i < *
nCPU
; i++ {
81
c := make(chan int, *
nCPU
)
82
for i := 0; i < *
nCPU
; i++ {
83
go x.Times(i*len(v) / *
nCPU
, (i+1)*len(v) / *
nCPU
, u, c)
86
for i := 0; i < *
nCPU
; i++ {
87
go v.TimesTransp(i*len(v) / *
nCPU
, (i+1)*len(v) / *
nCPU
, x, c
[
all
...]
fannkuch-parallel.go
47
var
nCPU
= flag.Int("
ncpu
", 4, "number of cpus")
183
runtime.GOMAXPROCS(*
nCPU
)
210
nworkers := *
nCPU
/prebuilts/go/linux-x86/test/bench/shootout/
spectral-norm-parallel.go
47
var
nCPU
= flag.Int("
ncpu
", 4, "number of cpus")
74
for i := 0; i < *
nCPU
; i++ {
81
c := make(chan int, *
nCPU
)
82
for i := 0; i < *
nCPU
; i++ {
83
go x.Times(i*len(v) / *
nCPU
, (i+1)*len(v) / *
nCPU
, u, c)
86
for i := 0; i < *
nCPU
; i++ {
87
go v.TimesTransp(i*len(v) / *
nCPU
, (i+1)*len(v) / *
nCPU
, x, c
[
all
...]
fannkuch-parallel.go
47
var
nCPU
= flag.Int("
ncpu
", 4, "number of cpus")
183
runtime.GOMAXPROCS(*
nCPU
)
210
nworkers := *
nCPU
Completed in 3606 milliseconds