-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jade Abraham <[email protected]>
- Loading branch information
1 parent
a60c66f
commit 92e473a
Showing
7 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module ArkoudaPythonCompat { | ||
proc pythonModuleSupported param do return false; | ||
|
||
class Interpreter {} | ||
class Value {} | ||
class Function: Value {} | ||
class Module: Value {} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module ArkoudaSortCompat { | ||
public use Sort; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module ArkoudaSparseMatrixCompat { | ||
use CompressedSparseLayout; | ||
import SparseMatrix.SpsMatUtil.Layout; | ||
use BlockDist; | ||
|
||
proc getSparseDom(param layout: Layout) { | ||
select layout { | ||
when Layout.CSR do return new csrLayout(); | ||
when Layout.CSC do return new cscLayout(); | ||
} | ||
} | ||
|
||
// see: https://github.com/chapel-lang/chapel/issues/26209 | ||
proc getDenseDom(dom, localeGrid, param layout: Layout) { | ||
if layout == Layout.CSR { | ||
return dom dmapped new blockDist(boundingBox=dom, | ||
targetLocales=localeGrid, | ||
sparseLayoutType=csrLayout); | ||
} else { | ||
return dom dmapped new blockDist(boundingBox=dom, | ||
targetLocales=localeGrid, | ||
sparseLayoutType=cscLayout); | ||
} | ||
} | ||
} |