File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 66julia :
77 - 1.3
88 - nightly
9- matrix :
10- allow_failures :
11- - julia : nightly
12- fast_finish : true
13- notifications :
14- email : false
159after_success :
1610 - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'
1711jobs :
12+ allow_failures :
13+ - julia : nightly
14+ fast_finish : true
1815 include :
1916 - stage : Documentation
2017 julia : 1.3
2421 Pkg.instantiate();
2522 include("docs/make.jl");'
2623 after_success : skip
24+ notifications :
25+ email : false
Original file line number Diff line number Diff line change @@ -7,11 +7,16 @@ export kmeans
77
88abstract type CalculationMode end
99
10- struct SingleThread <: CalculationMode end
10+ # Single thread class to control the calculation type based on the CalculationMode
11+ struct SingleThread <: CalculationMode
12+ end
1113
14+ # Multi threaded implementation to control the calculation type based avaialble threads
1215struct MultiThread <: CalculationMode
1316 n:: Int
1417end
18+
19+ # Get the number of avaialble threads for multithreading implementation
1520MultiThread () = MultiThread (Threads. nthreads ())
1621
1722"""
You can’t perform that action at this time.
0 commit comments