@@ -71,8 +71,7 @@ module Matrix =
7171 let transpose =
7272 CSR.Matrix.transpose clContext workGroupSize
7373
74- let rowsToCSR =
75- Rows.Matrix.toCSR clContext workGroupSize
74+ let rowsToCSR = LIL.Matrix.toCSR clContext workGroupSize
7675
7776 fun ( processor : MailboxProcessor < _ >) allocationMode ( matrix : ClMatrix < 'a >) ->
7877 match matrix with
@@ -124,8 +123,7 @@ module Matrix =
124123 let transposeInPlace =
125124 COO.Matrix.transposeInPlace clContext workGroupSize
126125
127- let rowsToCSR =
128- Rows.Matrix.toCSR clContext workGroupSize
126+ let rowsToCSR = LIL.Matrix.toCSR clContext workGroupSize
129127
130128 fun ( processor : MailboxProcessor < _ >) allocationMode ( matrix : ClMatrix < 'a >) ->
131129 match matrix with
@@ -183,8 +181,7 @@ module Matrix =
183181 let transposeCOO =
184182 COO.Matrix.transpose clContext workGroupSize
185183
186- let rowsToCSR =
187- Rows.Matrix.toCSR clContext workGroupSize
184+ let rowsToCSR = LIL.Matrix.toCSR clContext workGroupSize
188185
189186 fun ( processor : MailboxProcessor < _ >) allocationMode ( matrix : ClMatrix < 'a >) ->
190187 match matrix with
@@ -233,7 +230,7 @@ module Matrix =
233230 |> ClMatrix.CSC
234231 | _ -> failwith " Not yet implemented"
235232
236- let toRows ( clContext : ClContext ) workGroupSize =
233+ let toLIL ( clContext : ClContext ) workGroupSize =
237234
238235 let copy = copy clContext workGroupSize
239236
@@ -242,22 +239,21 @@ module Matrix =
242239 let transposeCSR =
243240 CSR.Matrix.transposeInPlace clContext workGroupSize
244241
245- let CSRToRows =
246- CSR.Matrix.toRows clContext workGroupSize
242+ let CSRToLIL = CSR.Matrix.toLIL clContext workGroupSize
247243
248244 fun ( processor : MailboxProcessor < _ >) allocationMode ( matrix : ClMatrix < 'a >) ->
249245 match matrix with
250246 | ClMatrix.CSC m ->
251247 m.ToCSR
252248 |> transposeCSR processor allocationMode
253- |> CSRToRows processor allocationMode
249+ |> CSRToLIL processor allocationMode
254250 |> ClMatrix.LIL
255251 | ClMatrix.CSR m ->
256- CSRToRows processor allocationMode m
252+ CSRToLIL processor allocationMode m
257253 |> ClMatrix.LIL
258254 | ClMatrix.COO m ->
259255 COOToCSR processor allocationMode m
260- |> CSRToRows processor allocationMode
256+ |> CSRToLIL processor allocationMode
261257 |> ClMatrix.LIL
262258 | ClMatrix.LIL _ -> copy processor allocationMode matrix
263259
0 commit comments