mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-04-12 10:48:53 +03:00

Replaces traditional LALRPOP-based parser with winnow-based parser to handle out-of-order instruction modifer. Generate instruction type and instruction visitor from a macro instead of writing by hand. Add separate compilation path using the new parser that only works in tests for now
34 lines
615 B
TOML
34 lines
615 B
TOML
[package]
|
|
name = "ptx"
|
|
version = "0.0.0"
|
|
authors = ["Andrzej Janik <vosen@vosen.pl>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
ptx_parser = { path = "../ptx_parser" }
|
|
regex = "1"
|
|
rspirv = "0.7"
|
|
spirv_headers = "1.5"
|
|
quick-error = "1.2"
|
|
thiserror = "1.0"
|
|
bit-vec = "0.6"
|
|
half ="1.6"
|
|
bitflags = "1.2"
|
|
|
|
[dependencies.lalrpop-util]
|
|
version = "0.19.12"
|
|
features = ["lexer"]
|
|
|
|
[build-dependencies.lalrpop]
|
|
version = "0.19.12"
|
|
features = ["lexer"]
|
|
|
|
[dev-dependencies]
|
|
hip_runtime-sys = { path = "../hip_runtime-sys" }
|
|
tempfile = "3"
|
|
spirv_tools-sys = { path = "../spirv_tools-sys" }
|
|
paste = "1.0"
|
|
cuda-driver-sys = "0.3.0"
|