aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-06-04 21:35:29 +0200
committerAdrian Kummerlaender2019-06-04 21:35:29 +0200
commit4a6b0bb928db91d57eaa09b656d296e79eafe7ed (patch)
tree70dc5b9322eeefa5600aee5220846da39b9de5f1
parentccffa639ee6cb04d713f8f3ff356bb1fdd0851c2 (diff)
downloadsymlbm_playground-4a6b0bb928db91d57eaa09b656d296e79eafe7ed.tar
symlbm_playground-4a6b0bb928db91d57eaa09b656d296e79eafe7ed.tar.gz
symlbm_playground-4a6b0bb928db91d57eaa09b656d296e79eafe7ed.tar.bz2
symlbm_playground-4a6b0bb928db91d57eaa09b656d296e79eafe7ed.tar.lz
symlbm_playground-4a6b0bb928db91d57eaa09b656d296e79eafe7ed.tar.xz
symlbm_playground-4a6b0bb928db91d57eaa09b656d296e79eafe7ed.tar.zst
symlbm_playground-4a6b0bb928db91d57eaa09b656d296e79eafe7ed.zip
Update notebook
-rw-r--r--inspect_opencl_layout.ipynb96
1 files changed, 59 insertions, 37 deletions
diff --git a/inspect_opencl_layout.ipynb b/inspect_opencl_layout.ipynb
index ac7c72f..521f93a 100644
--- a/inspect_opencl_layout.ipynb
+++ b/inspect_opencl_layout.ipynb
@@ -10,7 +10,7 @@
},
{
"cell_type": "code",
- "execution_count": 56,
+ "execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
@@ -20,7 +20,7 @@
},
{
"cell_type": "code",
- "execution_count": 57,
+ "execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
@@ -31,16 +31,16 @@
},
{
"cell_type": "code",
- "execution_count": 58,
+ "execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
- "<pyopencl.Platform 'NVIDIA CUDA' at 0x280eab0>"
+ "<pyopencl.Platform 'NVIDIA CUDA' at 0x28ef860>"
]
},
- "execution_count": 58,
+ "execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
@@ -58,7 +58,7 @@
},
{
"cell_type": "code",
- "execution_count": 59,
+ "execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
@@ -68,7 +68,7 @@
},
{
"cell_type": "code",
- "execution_count": 60,
+ "execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
@@ -77,7 +77,7 @@
},
{
"cell_type": "code",
- "execution_count": 61,
+ "execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
@@ -86,7 +86,7 @@
},
{
"cell_type": "code",
- "execution_count": 62,
+ "execution_count": 7,
"metadata": {},
"outputs": [
{
@@ -101,7 +101,7 @@
" [0, 0, 0, 0]], dtype=int32)"
]
},
- "execution_count": 62,
+ "execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
@@ -112,7 +112,7 @@
},
{
"cell_type": "code",
- "execution_count": 63,
+ "execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
@@ -121,16 +121,16 @@
},
{
"cell_type": "code",
- "execution_count": 64,
+ "execution_count": 9,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
- "<pyopencl._cl.Buffer at 0x7fd9da045468>"
+ "<pyopencl._cl.Buffer at 0x7efd2d9f2888>"
]
},
- "execution_count": 64,
+ "execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
@@ -150,7 +150,7 @@
},
{
"cell_type": "code",
- "execution_count": 65,
+ "execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
@@ -174,7 +174,7 @@
},
{
"cell_type": "code",
- "execution_count": 66,
+ "execution_count": 11,
"metadata": {},
"outputs": [
{
@@ -189,7 +189,7 @@
" [15, 15, 0, 0]], dtype=int32)"
]
},
- "execution_count": 66,
+ "execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
@@ -210,7 +210,7 @@
},
{
"cell_type": "code",
- "execution_count": 67,
+ "execution_count": 12,
"metadata": {},
"outputs": [],
"source": [
@@ -222,7 +222,7 @@
},
{
"cell_type": "code",
- "execution_count": 68,
+ "execution_count": 13,
"metadata": {},
"outputs": [
{
@@ -246,7 +246,7 @@
" [0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3]], dtype=int32)"
]
},
- "execution_count": 68,
+ "execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
@@ -258,7 +258,7 @@
},
{
"cell_type": "code",
- "execution_count": 69,
+ "execution_count": 14,
"metadata": {},
"outputs": [
{
@@ -282,7 +282,7 @@
" [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3]], dtype=int32)"
]
},
- "execution_count": 69,
+ "execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
@@ -293,7 +293,7 @@
},
{
"cell_type": "code",
- "execution_count": 70,
+ "execution_count": 15,
"metadata": {},
"outputs": [],
"source": [
@@ -302,7 +302,7 @@
},
{
"cell_type": "code",
- "execution_count": 71,
+ "execution_count": 16,
"metadata": {},
"outputs": [
{
@@ -326,7 +326,7 @@
" [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1]], dtype=int32)"
]
},
- "execution_count": 71,
+ "execution_count": 16,
"metadata": {},
"output_type": "execute_result"
}
@@ -337,7 +337,7 @@
},
{
"cell_type": "code",
- "execution_count": 72,
+ "execution_count": 17,
"metadata": {},
"outputs": [
{
@@ -361,7 +361,7 @@
" [7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7]], dtype=int32)"
]
},
- "execution_count": 72,
+ "execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
@@ -372,7 +372,7 @@
},
{
"cell_type": "code",
- "execution_count": 73,
+ "execution_count": 18,
"metadata": {},
"outputs": [
{
@@ -396,7 +396,7 @@
" [0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 2, 3, 4, 5, 6, 7]], dtype=int32)"
]
},
- "execution_count": 73,
+ "execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
@@ -407,7 +407,7 @@
},
{
"cell_type": "code",
- "execution_count": 74,
+ "execution_count": 19,
"metadata": {},
"outputs": [
{
@@ -431,7 +431,7 @@
" [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]], dtype=int32)"
]
},
- "execution_count": 74,
+ "execution_count": 19,
"metadata": {},
"output_type": "execute_result"
}
@@ -449,7 +449,7 @@
},
{
"cell_type": "code",
- "execution_count": 75,
+ "execution_count": 20,
"metadata": {},
"outputs": [],
"source": [
@@ -458,7 +458,7 @@
},
{
"cell_type": "code",
- "execution_count": 81,
+ "execution_count": 21,
"metadata": {},
"outputs": [],
"source": [
@@ -472,7 +472,7 @@
},
{
"cell_type": "code",
- "execution_count": 82,
+ "execution_count": 22,
"metadata": {},
"outputs": [
{
@@ -494,7 +494,7 @@
},
{
"cell_type": "code",
- "execution_count": 83,
+ "execution_count": 23,
"metadata": {},
"outputs": [
{
@@ -516,7 +516,7 @@
},
{
"cell_type": "code",
- "execution_count": 84,
+ "execution_count": 24,
"metadata": {},
"outputs": [
{
@@ -538,7 +538,7 @@
},
{
"cell_type": "code",
- "execution_count": 85,
+ "execution_count": 25,
"metadata": {},
"outputs": [
{
@@ -560,6 +560,28 @@
},
{
"cell_type": "code",
+ "execution_count": 26,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAABrCAYAAABnlHmpAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvnQurowAAB8RJREFUeJzt3c9rHOcdx/HPV7vWj6Qoln8rv0NwKGoS2iIcCqUEQrHbi3tpiHOoDwZDoZeeauih1/4DpeCDsS9JKLnEpQY3MTQptBS5UNKkEFt1nEiNY0e1W5I0tlb2twdtzGq98oxmZ+bZ59n3C8zsPH525+uPhq8ez+xK5u4CAMRvJHQBAIBy0NABIBE0dABIBA0dABJBQweARNDQASARNHQASAQNHQAS0VdDN7N9Zv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pO6GvijpoY79ByXF8tthL5vZtCS1t1cC19Mt5mylwc6XbKsVc74DlW3dDX1O0m4ze8zMRiW9IOlkzTUUdVLSwfbjg5JeC1hLLzFnKw12vmRbrZjzHaxs3b3WP5K+L+mcpH9K+nndx89Z48uSLklqaXX1cEjSVq3exT7f3m4JXWeM2caaL9mSbwzZ8klRAEgEnxQFgETQ0AEgETR0AEgEDR0AEkFDB4BE0NABIBE0dABIBA0dABLxf0GZN9fdsbfGAAAAAElFTkSuQmCC\n",
+ "text/plain": [
+ "<Figure size 432x288 with 4 Axes>"
+ ]
+ },
+ "metadata": {
+ "needs_background": "light"
+ },
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "plotWorkgroupConfig(2,16)"
+ ]
+ },
+ {
+ "cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],