Skip to content

Conversation

@vinx13
Copy link
Member

@vinx13 vinx13 commented Apr 6, 2022

@github-actions github-actions bot requested review from junrushao and masahi April 6, 2022 21:40
@vinx13 vinx13 force-pushed the feat/verify_gpu_dyn_shmem branch from 2a67118 to f356247 Compare April 6, 2022 21:44
local_memory_per_block_ += size * op->dtype.bytes() * op->dtype.lanes();
} else if (scope == "shared") {
} else if (storage_scope.rank == runtime::StorageRank::kShared) {
size_t size = static_cast<size_t>(op->ConstantAllocationSize());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that op->ConstantAllocationSize() is 0 for symbolic shape dyn-shared memory. But VerifyGPUCode cannot do anything with symbolic shape, so this should be fine.

@masahi masahi merged commit 534205b into apache:main Apr 7, 2022
pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
mehrdadh pushed a commit to mehrdadh/tvm that referenced this pull request Apr 11, 2022
Lucien0 pushed a commit to Lucien0/tvm that referenced this pull request Apr 19, 2022
altanh pushed a commit to altanh/tvm that referenced this pull request Apr 28, 2022
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.

3 participants