mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-10-02 06:10:06 +00:00
Parse both .ptr .align and .ptr .global .align in kernel declaration
This commit is contained in:
parent
869d291099
commit
828e52892a
1 changed files with 1 additions and 1 deletions
|
@ -892,7 +892,7 @@ fn method_parameter<'a, 'input: 'a>(
|
||||||
(
|
(
|
||||||
vector_prefix,
|
vector_prefix,
|
||||||
scalar_type,
|
scalar_type,
|
||||||
opt((Token::DotPtr, Token::DotGlobal)),
|
opt((Token::DotPtr, opt(Token::DotGlobal))),
|
||||||
opt(align.verify(|x| x.count_ones() == 1)),
|
opt(align.verify(|x| x.count_ones() == 1)),
|
||||||
ident,
|
ident,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue