Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Accelerators: NATIVE, Metal, and placeholders for CUDA, LLVM, WebGPU #380

Merged
merged 28 commits into from
Dec 30, 2024

Conversation

hikettei
Copy link
Owner

@hikettei hikettei commented Dec 30, 2024

  • CI: Test w/ Lisp Codegen (TODO: Rename LISP_JIT -> NATIVE)
  • Move to native.lisp (add Readme)
  • Nodes inside the EXPR may also want type relay (for optimizing NATIVE)
  • Add: BACKEND=NATIVE
    • Threefry2x32 is failing due to wrap-around (TODO: Replace them with MOD)
    • TODO: Support parallel in default (if the :FOR is enough simple though...)
    • Make the CI green
  • BACKEND=METAL
    • kernel worked
    • threefry2x32: needs to transfer the buffer: CPU -> Metal
    • Tested in CI
    • Optimize global/local size
    • Use MTLCompiler directly for the compilation speed
  • TODO: BACKEND=CUDA
    • Add: Renderer
  • TODO: BACKEND=LLVM
    • Add: Renderer
  • TODO: BACKEND=WGPU
    • Add: Renderer
    • Is there any decent wrapper for webgpu?
  • CUDA: Looking into Petalisp? or using cl-cuda? inconveniently i dont have cuda computers so i cannot test locally :(

@hikettei hikettei changed the title New Accelerators: LispCodegen, Metal, CUDA, LLVM, WebGPU (WIP) New Accelerators: LispCodegen, Metal, CUDA, LLVM, WebGPU Dec 30, 2024
@hikettei hikettei changed the title (WIP) New Accelerators: LispCodegen, Metal, CUDA, LLVM, WebGPU (WIP) New Accelerators: NATIVE, Metal, CUDA, LLVM, WebGPU Dec 30, 2024
@hikettei hikettei changed the title (WIP) New Accelerators: NATIVE, Metal, CUDA, LLVM, WebGPU (WIP) New Accelerators: NATIVE, Metal, and placeholders for CUDA, LLVM, WebGPU Dec 30, 2024
@hikettei hikettei marked this pull request as ready for review December 30, 2024 11:49
@hikettei hikettei changed the title (WIP) New Accelerators: NATIVE, Metal, and placeholders for CUDA, LLVM, WebGPU New Accelerators: NATIVE, Metal, and placeholders for CUDA, LLVM, WebGPU Dec 30, 2024
@hikettei hikettei merged commit afd651a into main Dec 30, 2024
6 checks passed
@hikettei hikettei deleted the finish-metal branch December 30, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant