mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 22:39:03 +00:00
ds_read_offset
This commit is contained in:
12
script/ds_read_offset.sh
Executable file
12
script/ds_read_offset.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
for((i=0;i<=4096;i=i+64))
|
||||
do
|
||||
OFFSET=$i
|
||||
echo "if(offset == $OFFSET)"
|
||||
echo "{"
|
||||
echo " asm volatile(\"\\n \\"
|
||||
echo " ds_read_b128 %0, %1 offset:$OFFSET\n \\"
|
||||
echo " \""
|
||||
echo " : \"=v\"(r)"
|
||||
echo " : \"v\"(__to_local(lds)));"
|
||||
echo "}"
|
||||
done
|
||||
Reference in New Issue
Block a user