We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got this error when building 02-General Array Operations:
Executing task: xcrun -sdk macosx metal -c ~/m1-gpu-cpp/02-GeneralArrayOperations/ops.metal -o ~/m1-gpu-cpp/02-GeneralArrayOperations/ops.air
~/m1-gpu-cpp/02-GeneralArrayOperations/ops.metal:52:13: error: kernel function cannot have input declarations with 'thread_execution_width' and 'threads_per_simdgroup' attributes kernel void inspector( ^ ~/m1-gpu-cpp/02-GeneralArrayOperations/ops.metal:67:24: note: conflicting declaration with 'thread_execution_width' attribute here uint thread_execution_width [[thread_execution_width]], ^ ~/m1-gpu-cpp/02-GeneralArrayOperations/ops.metal:74:24: note: conflicting declaration with 'threads_per_simdgroup' attribute here uint threads_per_simdgroup [[threads_per_simdgroup]], ^ 1 error generated.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Got this error when building 02-General Array Operations:
Executing task: xcrun -sdk macosx metal -c ~/m1-gpu-cpp/02-GeneralArrayOperations/ops.metal -o ~/m1-gpu-cpp/02-GeneralArrayOperations/ops.air
~/m1-gpu-cpp/02-GeneralArrayOperations/ops.metal:52:13: error: kernel function cannot have input declarations with 'thread_execution_width' and 'threads_per_simdgroup' attributes
kernel void inspector(
^
~/m1-gpu-cpp/02-GeneralArrayOperations/ops.metal:67:24: note: conflicting declaration with 'thread_execution_width' attribute here
uint thread_execution_width [[thread_execution_width]],
^
~/m1-gpu-cpp/02-GeneralArrayOperations/ops.metal:74:24: note: conflicting declaration with 'threads_per_simdgroup' attribute here
uint threads_per_simdgroup [[threads_per_simdgroup]],
^
1 error generated.
The text was updated successfully, but these errors were encountered: