Skip to content
This repository was archived by the owner on Nov 24, 2018. It is now read-only.

Commit 0dbd99d

Browse files
committed
native: clarify comment for Ilaenv
1 parent 313ae61 commit 0dbd99d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

native/ilaenv.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
package native
66

77
// Ilaenv returns algorithm tuning parameters for the algorithm given by the
8-
// input string. ispec specifies the parameter to return.
9-
// 1: The optimal block size
10-
// 2: The minimum block size for which the algorithm should be used.
11-
// 3: The crossover point below which an unblocked routine should be used.
8+
// input string. ispec specifies the parameter to return:
9+
// 1: The optimal block size for a blocked algorithm.
10+
// 2: The minimum block size for a blocked algorithm.
11+
// 3: The block size of unprocessed data at which a blocked algorithm should
12+
// crossover to an unblocked version.
1213
// 4: The number of shifts.
1314
// 5: The minimum column dimension for blocking to be used.
1415
// 6: The crossover point for SVD (to use QR factorization or not).
@@ -21,7 +22,6 @@ package native
2122
// Ilaenv is an internal routine. It is exported for testing purposes.
2223
func (Implementation) Ilaenv(ispec int, s string, opts string, n1, n2, n3, n4 int) int {
2324
// TODO(btracey): Replace this with a constant lookup? A list of constants?
24-
// TODO: What is the difference between 2 and 3?
2525
sname := s[0] == 'S' || s[0] == 'D'
2626
cname := s[0] == 'C' || s[0] == 'Z'
2727
if !sname && !cname {

0 commit comments

Comments
 (0)