-
-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cudf/dask-cudf support for points/line/area rendering and shade
- Loading branch information
Showing
21 changed files
with
1,327 additions
and
540 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
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,9 @@ | ||
from __future__ import absolute_import | ||
from datashader.data_libraries.pandas import default | ||
from datashader.core import bypixel | ||
import cudf | ||
|
||
|
||
@bypixel.pipeline.register(cudf.DataFrame) | ||
def cudf_pipeline(df, schema, canvas, glyph, summary): | ||
return default(glyph, df, schema, canvas, summary, cuda=True) |
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,9 @@ | ||
from __future__ import absolute_import | ||
from datashader.data_libraries.dask import dask_pipeline | ||
from datashader.core import bypixel | ||
import dask_cudf | ||
|
||
|
||
@bypixel.pipeline.register(dask_cudf.DataFrame) | ||
def dask_cudf_pipeline(df, schema, canvas, glyph, summary): | ||
return dask_pipeline(df, schema, canvas, glyph, summary, cuda=True) |
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
Oops, something went wrong.