Skip to content

Fix potential problems with optional arguments on ReqdWorkGroupAttr #3175

Closed
@smanna12

Description

@smanna12

One thing to double-check is whether YDimVal and ZDimVal can ever be null when we create the default values from SetDefaultValue(). I don't think they can be null within this if block, but it seems plausible they could be null in the D->getAttr<WorkGroupAttr>() block below (which could be an existing bug).

Originally posted by @AaronBallman in #3170 (comment)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions