mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-19 08:52:18 +00:00
Rename new crates
This commit is contained in:
parent
0760c3d58f
commit
71e025845c
9 changed files with 20 additions and 18 deletions
|
@ -1,12 +1,13 @@
|
|||
[package]
|
||||
name = "ptx_parser"
|
||||
version = "0.1.0"
|
||||
version = "0.0.0"
|
||||
authors = ["Andrzej Janik <vosen@vosen.pl>"]
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
logos = "0.14"
|
||||
winnow = { version = "0.6.18" }
|
||||
gen = { path = "../gen" }
|
||||
ptx_parser_macros = { path = "../ptx_parser_macros" }
|
||||
thiserror = "1.0"
|
||||
bitflags = "1.2"
|
||||
rustc-hash = "2.0.0"
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
use std::cmp::Ordering;
|
||||
|
||||
use super::{
|
||||
AtomSemantics, MemScope, RawRoundingMode, RawSetpCompareOp, ScalarType, SetpBoolPostOp,
|
||||
StateSpace, VectorPrefix,
|
||||
};
|
||||
use crate::{PtxError, PtxParserState};
|
||||
use bitflags::bitflags;
|
||||
use std::cmp::Ordering;
|
||||
|
||||
pub enum Statement<P: Operand> {
|
||||
Label(P::Ident),
|
||||
|
@ -14,7 +13,7 @@ pub enum Statement<P: Operand> {
|
|||
Block(Vec<Statement<P>>),
|
||||
}
|
||||
|
||||
gen::generate_instruction_type!(
|
||||
ptx_parser_macros::generate_instruction_type!(
|
||||
pub enum Instruction<T: Operand> {
|
||||
Mov {
|
||||
type: { &data.typ },
|
||||
|
@ -1448,5 +1447,5 @@ pub enum DivFloatKind {
|
|||
|
||||
#[derive(Copy, Clone, Eq, PartialEq)]
|
||||
pub struct FlushToZero {
|
||||
pub flush_to_zero: bool
|
||||
pub flush_to_zero: bool,
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use gen::derive_parser;
|
||||
use logos::Logos;
|
||||
use ptx_parser_macros::derive_parser;
|
||||
use rustc_hash::FxHashMap;
|
||||
use std::fmt::Debug;
|
||||
use std::mem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue