Skip to content

[FEA] [performace] [follow-up] investigate to handle DST timezones on GPU for year > 2200. #3674

@res-life

Description

@res-life

Is your feature request related to a problem? Please describe.
PR #3072 starts to support Daylight Saving Time (DST) timezones.
When there is year > 2200, it leverages CPU to compute, this may introduce performance issue, at least it's never faster than CPU because there is memory copy overhead from GPU to CPU before computing on CPU.
We may need to investigate is there a way to handle year > 2200 on GPU and get a better performance than CPU.

Describe the solution you'd like
Related comment, refer to link
One potential solution, but not sure it will get good perf:

  • implement a method to get whether a day is sunday.
  • Dynamically generate transitions for a given day.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions