Phase 13 / Pallas kernels
Pallas grids and BlockSpecs
Revision v0.18.1 · Updated since your last visit. Review the changes; your progress is saved.
Lesson · about 95 minutes · CPU practice
Implement an actual Pallas Ref-writing kernel with grid and BlockSpecs. Derive block coordinates and distinguish them from element offsets.
Phase study guide: preparation, milestones and project evidence
Before you start
Before this: Distributed training
Hardware: CPU Pallas interpretation; actual TPU lowering and performance unverified
Setup help: Python, notebook, or Cloud TPU VM
Use the tested CPU packages (the recorded environment uses Python 3.14.3). Other Python versions require separate checks. Hardware receipts apply only to their recorded source, environment, hardware, and cases; they do not qualify every lesson or TPU configuration. See the TPU performance and hardware evidence guide. The optional Cloud TPU specialization explains target-specific execution boundaries. Logical CPU devices practice partitioning; they do not simulate TPU performance.
Download the repository ZIP or use your existing checkout. Extract it and open a terminal in the folder containing requirements-cpu.txt. The beginner ZIP is separate; these lessons use the full repository folder.
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements-cpu.txtpy -3 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements-cpu.txtAfter activation, run the complete worked example from that same folder:
python phases/13-kernels/01-pallas-grids-and-blockspecs/code/main.py.\.venv\Scripts\python.exe phases/13-kernels/01-pallas-grids-and-blockspecs/code/main.pyFor an incremental build, create main.py in your own practice folder, append each build block in order, and run python main.py with this environment active. Keep that file separate from the downloaded reference solution.
Download this lesson’s notebook. Open it with a Python kernel using the course environment. Run cells from the top after restarting the kernel; experiments depend on earlier definitions.
For local Jupyter, first install the course requirements using the Local Python steps, then use your environment’s Python to start Jupyter:
python -m pip install jupyterlab
python -m jupyter lab.\.venv\Scripts\python.exe -m pip install jupyterlab
.\.venv\Scripts\python.exe -m jupyter labSelect the downloaded kernels-01.ipynb file in JupyterLab. The notebook contains reference solutions; make your prediction and attempt each practice task before opening them. Restart the kernel before changing logical device setup.
The worked reference for this lesson is CPU-validated. Some references explicitly configure logical CPU devices; setting JAX_PLATFORMS does not adapt them to a TPU. Follow the execution matrix and reviewed multi-host example before attempting a target run.
For accelerator preparation, study TPU setup, observed runtime receipts, checkpointed jobs and precision and retained traces. Current receipts cover bounded v5e1 launch, resume, and precision checks; four single-device Pallas cases; and a four-device v5e collective fixture. Each receipt is limited to its recorded source, environment, cases, and hardware. It does not qualify all lessons or TPU configurations. Cloud provisioning is optional for CPU learning.
Check: Logical shape (5,11); endpoints -3.75 and approximately 7.05. Grid (3,3); 55 logical versus 72 padded elements.
Revisit the guided CPU setup · Open 19: TPU Setup. Package instructions are CPU instructions; Windows and accelerator environments need their own validation.
What you will be able to do
- Implement an actual Pallas Ref-writing kernel with grid and BlockSpecs.
- Derive block coordinates and distinguish them from element offsets.
- Handle nondivisible matrix tails explicitly and verify full output coverage.
- Separate CPU interpretation from accelerator execution evidence.
The problem
A kernel can produce the right answer on a divisible matrix and silently miss the last row on a real workload. How do grid coordinates, block ownership and array boundaries fit together? We will implement an actual Pallas operation and make its tail handling visible.
The idea
A Pallas grid assigns work to programs, and BlockSpec maps those programs to array regions. Boundary tiles make the distinction between logical data and padded storage important. Verify ownership before optimizing arithmetic.
Map every logical element to an owning program
Tiling answers a practical question: which kernel invocation writes each output cell? For the worked input and block, the grid is , or nine program IDs. Each ID owns one tile; at the lower-right, ID 8 owns logical row 4 and columns 8–10. The padded block has more slots than logical outputs, so use padding before launch and crop after. Predict the owner of cell , then check your arithmetic against the map.
Program coordinates and partial boundary tiles
Predict: Why test an awkward shape in addition to a tile-aligned shape?
Rows in the table are grid rows and columns are grid columns; each cell names one program ID and its valid logical row/column range. The map's block covers five rows by eleven columns using a grid. For ID 8, only row 4 and columns 8–10 are valid, although its launched tile has eight slots. Predict the result of skipping padding: invalid positions could become unintended output, so this wrapper pads whole blocks and crops to the logical matrix.
Write the simplest useful contract
Start with the array contract: two nonempty matrices of equal shape and dtype produce one result of the same shape and dtype. The body does not return an array; it reads input Refs and writes every output Ref. This example promotes loaded float32 or bfloat16 values to float32, computes elementwise , then casts once to output dtype. Keeping the numerical contract explicit lets later checks distinguish indexing errors from rounding.
A grid coordinate is not an element coordinate
For the matrix with blocks, names a program tile, not element . Its starting element is . The BlockSpec map returns block coordinates and Pallas applies block-size scaling. Work one cell from that tile, such as , to see why confusion between program IDs and element offsets skips or misplaces data.
Make boundary behavior explicit
Ceiling division gives grid , so the physical launch covers slots for only 55 logical values. Padding adds 17 slots; cropping returns the original shape. Zero padding is safe for this elementwise because each output uses only the matching input cell. A sum or stencil would need a different edge rule. Compare the last logical output to the padded region to see why cropping belongs in the wrapper.
Check ownership and arithmetic separately
Two independent questions catch different bugs: integer coordinate arithmetic checks each output has one owner, while a NumPy expression checks the value. Compare all 55 values, not their mean, then inspect the bottom-right output (about 7.05) and change block size. Ownership should change with block geometry; the cropped result should not.
Interpretation proves bounded semantics, not speed
interpret=True runs the actual Pallas kernel semantics through the CPU-compatible path for this fixture. It supports the elementwise result and ownership checks, but it does not test TPU layout restrictions or target lowering. This path is useful while learning the mapping; do not time it as an accelerator comparison. The next lesson adds a separately guarded TPU launch.
Nine programs cover a matrix with partial boundary tiles
Predict before looking: Which program owns the last logical element, and why does the grid need a third row and column?
Read the figure
The x-axis is logical matrix column and the y-axis is logical matrix row; the discrete colorbar gives owning program ID under blocks. IDs are categories, not a numeric scale. In the grid, the last logical row is split among IDs 6, 7 and 8; the bottom-right cell belongs to 8. Predict the owner of before checking the colors: it lies in program row 1, column 1, ID 4.
Connect it to the computation
The CPU execution independently computes grid over padded and compares every cropped output with NumPy; the bottom-right value is about 7.05. The color map explains ownership, while the numeric comparison verifies arithmetic. It contains no latency or device scheduling measurement. Use the partial bottom/right tiles to predict which slots are padding, then verify the crop removes them.
Figure data and execution details
Open full-size figureDownload data and provenance
The notebook contains the data experiment, plotting code, and recorded figure output. Rerun it to test your changes.
Your build: Create a separate main.py in your practice folder. Append each block in order and run python main.py in the lesson environment. The downloaded script is the complete reference, so keep it separate from your attempt.
1 Write a block-local kernel and a boundary-aware wrapper
Create main.py for the first block, then append each block in order in your course CPU environment.
# Step 1 — Write a block-local kernel and a boundary-aware wrapper: The kernel writes its output Ref and returns nothing.
import jax
import jax.numpy as jnp
import numpy as np
from jax.experimental import pallas as pl
from jax.experimental.pallas import tpu as pltpu
def validate_pair(x,y,block):
if x.ndim!=2 or x.shape!=y.shape or min(x.shape)<1:
raise ValueError("inputs must be nonempty matrices with identical shapes")
if x.dtype!=y.dtype or x.dtype not in (jnp.float32,jnp.bfloat16):
raise ValueError("matching float32 or bfloat16 inputs required")
if len(block)!=2 or any(not isinstance(n,int) or n<1 for n in block):
raise ValueError("two positive integer block dimensions required")
def pad_pair(x,y,block):
validate_pair(x,y,block)
m,n=x.shape
bm,bn=block
padded=((m+bm-1)//bm*bm,(n+bn-1)//bn*bn)
pads=((0,padded[0]-m),(0,padded[1]-n))
return jnp.pad(x,pads),jnp.pad(y,pads),padded
def axpy_body(x_ref,y_ref,out_ref):
result=2.0*x_ref[...].astype(jnp.float32)+y_ref[...].astype(jnp.float32)
out_ref[...]=result.astype(out_ref.dtype)
def blocked_axpy(x,y,block=(2,4)):
px,py,padded=pad_pair(x,y,block)
bm,bn=block
spec=pl.BlockSpec(block,lambda i,j:(i,j))
out=pl.pallas_call(axpy_body,
out_shape=jax.ShapeDtypeStruct(padded,x.dtype),
grid=(padded[0]//bm,padded[1]//bn),
in_specs=(spec,spec),out_specs=spec,interpret=True)(px,py)
return out[:x.shape[0],:x.shape[1]]The kernel writes its output Ref and returns nothing. The wrapper validates and pads the global matrices, defines ownership with BlockSpecs, launches actual Pallas interpretation and crops to the original shape.
2 Check every logical element against NumPy
Create main.py for the first block, then append each block in order in your course CPU environment.
# Step 2 — Check every logical element against NumPy: The last row and column belong to partial logical tiles.
x=jnp.arange(55,dtype=jnp.float32).reshape(5,11)/10-2
y=jnp.full_like(x,0.25)
actual=blocked_axpy(x,y)
# Transfer the device result to the host for an independent NumPy comparison.
reference=2*np.asarray(x)+np.asarray(y)
# Check tensor shape invariant: `actual.shape==(5,11)`
assert actual.shape==(5,11)
np.testing.assert_allclose(actual,reference,rtol=1e-6,atol=1e-6)
assert float(actual[-1,-1])==float(reference[-1,-1])
print("Shape and boundary:",actual.shape,float(actual[0,0]),float(actual[-1,-1]))The last row and column belong to partial logical tiles. Checking them explicitly catches floor-divided grids that omit the tail.
Explain the APIs in this step
jnp.arange(n, dtype=...): Creates a 1-D JAX array of evenly spaced values[0, 1, ..., n-1]on the target device.array.reshape(new_shape): Reorganizes tensor axes without changing the total element count (array.size).np.testing.assert_allclose(actual, desired, rtol=..., atol=...): Checks a host-side numerical expectation and raisesAssertionErrorwhen values differ beyond tolerance.
3 Derive the ownership map independently
Create main.py for the first block, then append each block in order in your course CPU environment.
# Step 3 — Derive the ownership map independently: Block coordinates are multiplied by the block shape by Pallas.
rows,cols=np.indices((5,11))
owner=(rows//2)*3+(cols//4)
assert owner[0,0]==0 and owner[4,10]==8
logical=5*11
padded=6*12
print("Grid:",(3,3),"logical/padded elements:",logical,padded)
print("Padding fraction:",(padded-logical)/padded)Block coordinates are multiplied by the block shape by Pallas. An index map returning (i,j) selects the corresponding block; multiplying those indices again would skip data.
View the cumulative build in main.py
These blocks append in order to your separate practice file.
# Step 1 — Write a block-local kernel and a boundary-aware wrapper: The kernel writes its output Ref and returns nothing.
import jax
import jax.numpy as jnp
import numpy as np
from jax.experimental import pallas as pl
from jax.experimental.pallas import tpu as pltpu
def validate_pair(x,y,block):
if x.ndim!=2 or x.shape!=y.shape or min(x.shape)<1:
raise ValueError("inputs must be nonempty matrices with identical shapes")
if x.dtype!=y.dtype or x.dtype not in (jnp.float32,jnp.bfloat16):
raise ValueError("matching float32 or bfloat16 inputs required")
if len(block)!=2 or any(not isinstance(n,int) or n<1 for n in block):
raise ValueError("two positive integer block dimensions required")
def pad_pair(x,y,block):
validate_pair(x,y,block)
m,n=x.shape
bm,bn=block
padded=((m+bm-1)//bm*bm,(n+bn-1)//bn*bn)
pads=((0,padded[0]-m),(0,padded[1]-n))
return jnp.pad(x,pads),jnp.pad(y,pads),padded
def axpy_body(x_ref,y_ref,out_ref):
result=2.0*x_ref[...].astype(jnp.float32)+y_ref[...].astype(jnp.float32)
out_ref[...]=result.astype(out_ref.dtype)
def blocked_axpy(x,y,block=(2,4)):
px,py,padded=pad_pair(x,y,block)
bm,bn=block
spec=pl.BlockSpec(block,lambda i,j:(i,j))
out=pl.pallas_call(axpy_body,
out_shape=jax.ShapeDtypeStruct(padded,x.dtype),
grid=(padded[0]//bm,padded[1]//bn),
in_specs=(spec,spec),out_specs=spec,interpret=True)(px,py)
return out[:x.shape[0],:x.shape[1]]
# Step 2 — Check every logical element against NumPy: The last row and column belong to partial logical tiles.
x=jnp.arange(55,dtype=jnp.float32).reshape(5,11)/10-2
y=jnp.full_like(x,0.25)
actual=blocked_axpy(x,y)
# Transfer the device result to the host for an independent NumPy comparison.
reference=2*np.asarray(x)+np.asarray(y)
# Check tensor shape invariant: `actual.shape==(5,11)`
assert actual.shape==(5,11)
np.testing.assert_allclose(actual,reference,rtol=1e-6,atol=1e-6)
assert float(actual[-1,-1])==float(reference[-1,-1])
print("Shape and boundary:",actual.shape,float(actual[0,0]),float(actual[-1,-1]))
# Step 3 — Derive the ownership map independently: Block coordinates are multiplied by the block shape by Pallas.
rows,cols=np.indices((5,11))
owner=(rows//2)*3+(cols//4)
assert owner[0,0]==0 and owner[4,10]==8
logical=5*11
padded=6*12
print("Grid:",(3,3),"logical/padded elements:",logical,padded)
print("Padding fraction:",(padded-logical)/padded)Run the example
python3 phases/13-kernels/01-pallas-grids-and-blockspecs/code/main.pyAbout this command
This shortcut uses an activated macOS/Linux course environment in the repository folder. For Windows, use the explicit interpreter command in “Setup help” above. The script includes worked examples and reference solutions.
Inspect the complete assembled example
# Step 1 — Write a block-local kernel and a boundary-aware wrapper: The kernel writes its output Ref and returns nothing.
import jax
import jax.numpy as jnp
import numpy as np
from jax.experimental import pallas as pl
from jax.experimental.pallas import tpu as pltpu
def validate_pair(x,y,block):
if x.ndim!=2 or x.shape!=y.shape or min(x.shape)<1:
raise ValueError("inputs must be nonempty matrices with identical shapes")
if x.dtype!=y.dtype or x.dtype not in (jnp.float32,jnp.bfloat16):
raise ValueError("matching float32 or bfloat16 inputs required")
if len(block)!=2 or any(not isinstance(n,int) or n<1 for n in block):
raise ValueError("two positive integer block dimensions required")
def pad_pair(x,y,block):
validate_pair(x,y,block)
m,n=x.shape
bm,bn=block
padded=((m+bm-1)//bm*bm,(n+bn-1)//bn*bn)
pads=((0,padded[0]-m),(0,padded[1]-n))
return jnp.pad(x,pads),jnp.pad(y,pads),padded
def axpy_body(x_ref,y_ref,out_ref):
result=2.0*x_ref[...].astype(jnp.float32)+y_ref[...].astype(jnp.float32)
out_ref[...]=result.astype(out_ref.dtype)
def blocked_axpy(x,y,block=(2,4)):
px,py,padded=pad_pair(x,y,block)
bm,bn=block
spec=pl.BlockSpec(block,lambda i,j:(i,j))
out=pl.pallas_call(axpy_body,
out_shape=jax.ShapeDtypeStruct(padded,x.dtype),
grid=(padded[0]//bm,padded[1]//bn),
in_specs=(spec,spec),out_specs=spec,interpret=True)(px,py)
return out[:x.shape[0],:x.shape[1]]
# Step 2 — Check every logical element against NumPy: The last row and column belong to partial logical tiles.
x=jnp.arange(55,dtype=jnp.float32).reshape(5,11)/10-2
y=jnp.full_like(x,0.25)
actual=blocked_axpy(x,y)
# Transfer the device result to the host for an independent NumPy comparison.
reference=2*np.asarray(x)+np.asarray(y)
# Check tensor shape invariant: `actual.shape==(5,11)`
assert actual.shape==(5,11)
np.testing.assert_allclose(actual,reference,rtol=1e-6,atol=1e-6)
assert float(actual[-1,-1])==float(reference[-1,-1])
print("Shape and boundary:",actual.shape,float(actual[0,0]),float(actual[-1,-1]))
# Step 3 — Derive the ownership map independently: Block coordinates are multiplied by the block shape by Pallas.
rows,cols=np.indices((5,11))
owner=(rows//2)*3+(cols//4)
assert owner[0,0]==0 and owner[4,10]==8
logical=5*11
padded=6*12
print("Grid:",(3,3),"logical/padded elements:",logical,padded)
print("Padding fraction:",(padded-logical)/padded)Expected result: Logical shape (5,11); endpoints -3.75 and approximately 7.05. Grid (3,3); 55 logical versus 72 padded elements.
Recorded output and runtime details
Reference output captured from executing the complete lesson script (code/main.py) and its assertions in the course CPU environment.
Shape and boundary: (5, 11) -3.75 7.050000190734863
Grid: (3, 3) logical/padded elements: 55 72
Padding fraction: 0.2361111111111111
Shape and boundary: (5, 11) -3.75 7.050000190734863
Grid: (3, 3) logical/padded elements: 55 72
Padding fraction: 0.2361111111111111
Changed grid: (2, 3) same numerical result
Floor-grid missing logical cells: 23
Singleton and changed tails verified
Mismatched global shape rejected
Shape, block/program/padded counts: (5, 11) [(2, 4, 9, 72), (8, 128, 1, 1024), (16, 256, 1, 4096)]
Shape, block/program/padded counts: (33, 129) [(2, 4, 561, 4488), (8, 128, 10, 10240), (16, 256, 3, 12288)]
PASS: kernels-01
Download execution record · The notebook includes executed cells and figure outputs. Compare your run with these values; timings depend on the machine.
Change block geometry without changing values
# Experiment — Change block geometry without changing values
changed=blocked_axpy(x,y,(3,5))
np.testing.assert_allclose(changed,reference,rtol=1e-6,atol=1e-6)
print("Changed grid:",(2,3),"same numerical result")Expected: The grid becomes (2,3); the logical output is unchanged.
Grid geometry is an implementation choice for this independent elementwise operation. It must not alter the mathematical contract.
Expose the floor-division omission
# Experiment — Expose the floor-division omission
covered=np.zeros((5,11),dtype=bool)
for i in range(5//2):
for j in range(11//4):
covered[i*2:(i+1)*2,j*4:(j+1)*4]=True
assert int(covered.sum())==32
assert not covered[-1,-1]
print("Floor-grid missing logical cells:",int((~covered).sum()))Expected: A floor-divided grid misses 23 of the 55 logical cells.
This diagnostic models the ownership bug without reading uninitialized kernel memory. Ceiling division plus an explicit tail policy repairs it.
Make it yours
Where to put your code: Modify your own main.py, or use the Make it yours cell in your downloaded notebook. Run your attempt in the declared environment and verify your prediction before opening the reference solution.
Test a singleton row and a changed nondivisible matrix with negative values. Verify full NumPy agreement and exact output shapes for two block choices.
Show a writing guide and starter scaffold
How to write this exercise code
Learner-only inputs, outputs, checks and hints
Inputs
- Two same-shaped float32 matrices for each fixture: singleton-row shape (1,7) and changed tail shape (7,9).
- Two block choices, (2,4) and (3,5), with the lesson kernel wrapper.
Outputs
- Exact logical output shape for each fixture/block pair.
- Full elementwise agreement with the independent NumPy expression.
Invariants to check
- Each input pair has identical shape and the result preserves that shape.
- Masked partial blocks cover every logical element, including negative values.
Hints
- Test the one-row case separately from a partial final tile.
- Compare every output element with the NumPy expression.
import numpy as np
import jax.numpy as jnp
def verify_changed_kernel(wrapper, singleton_pair, changed_pair, block_choices):
# TODO: run both same-shaped input pairs under each block and check NumPy values.
raise NotImplementedError("Exercise singleton rows and nondivisible negative-valued tails")Reveal the reference solution
# Exercise solution
for shape in [(1,7),(7,9)]:
a=jnp.asarray(np.random.default_rng(11).normal(size=shape),dtype=jnp.float32)
b=jnp.asarray(np.random.default_rng(12).normal(size=shape),dtype=jnp.float32)
for block in [(2,4),(3,5)]:
result=blocked_axpy(a,b,block)
# Check tensor shape invariant: `result.shape==shape`
assert result.shape==shape
# Transfer the device result to the host for an independent NumPy comparison.
np.testing.assert_allclose(result,2*np.asarray(a)+np.asarray(b),rtol=1e-6,atol=1e-6)
print("Singleton and changed tails verified")Reject a broadcast that changes the contract
Practice
Pass a column-shaped second input and confirm the wrapper rejects it before launching the kernel. Explain why silent broadcasting would hide an input-contract error.
Show a writing guide and starter scaffold
How to write this practice solution
Learner-only inputs, outputs, checks and hints
Inputs
- A kernel wrapper and a (n,1) second input where the contract requires matching vector shape.
Outputs
- A pre-launch validation error and its message.
Invariants to check
- Shape validation happens before kernel execution.
- Broadcast compatibility does not imply the documented input contract.
Hints
- Check exact ranks and dimensions before creating a launch grid.
- Make the failure distinguishable from arithmetic errors.
def reject_broadcast_input(kernel_wrapper, values, column_values):
# TODO: call the wrapper and require its documented shape error.
raise NotImplementedError("Verify invalid broadcast shapes are rejected before launch")Show a hint
Require identical matrix shapes, not merely broadcast-compatible shapes.
Reveal reference solution and reasoning
# Reject a broadcast that changes the contract (Practice): The operation promises paired matrices.
rejected=False
try:blocked_axpy(x,jnp.ones((5,1),dtype=jnp.float32))
except ValueError:rejected=True
assert rejected
print("Mismatched global shape rejected")The operation promises paired matrices. A separate row/column-bias kernel can define an intentional broadcast contract.
Measure padding overhead without claiming runtime
Challenge
For shapes (5,11) and (33,129), compare logical elements, padded elements and program counts for three block choices. Explain why fewer programs may still mean more work.
Show a writing guide and starter scaffold
How to write this practice solution
Learner-only inputs, outputs, checks and hints
Inputs
- Logical shapes (5,11) and (33,129), plus three valid block shapes.
Outputs
- Program count and padded elements for each shape/block choice.
Invariants to check
- Logical element count is invariant across tile choices.
- Padded element count can rise even when program count falls.
Hints
- Compute ceil-divided grid dimensions.
- Report logical work and padded launch work as separate columns.
import math
def padding_report(shapes, blocks):
# TODO: calculate grids, program counts, and padded elements.
raise NotImplementedError("Quantify launch padding without making a timing claim")Show a hint
Use integer ceiling division; do not time interpretation as accelerator performance.
Reveal reference solution and reasoning
# Measure padding overhead without claiming runtime (Challenge): Program count and padded work expose different costs.
for shape in [(5,11),(33,129)]:
counts=[]
for bm,bn in [(2,4),(8,128),(16,256)]:
gm=(shape[0]+bm-1)//bm
gn=(shape[1]+bn-1)//bn
counts.append((bm,bn,gm*gn,gm*gn*bm*bn))
assert all(padded>=shape[0]*shape[1] for _,_,_,padded in counts)
print("Shape, block/program/padded counts:",shape,counts)Program count and padded work expose different costs. Actual target measurements are still needed to rank configurations.
Diagnose the result
If only the boundary is wrong, inspect ceiling division, padding and cropping before editing arithmetic. If blocks skip input regions, check whether the index map returns block coordinates or incorrectly pre-multiplied offsets. If a mean looks right but full comparison fails, inspect tile permutation or duplicate ownership.
Carry forward
- Write the simplest useful contract
- A grid coordinate is not an element coordinate
- Make boundary behavior explicit
- Check ownership and arithmetic separately
- Interpretation proves bounded semantics, not speed
Keep your evidence
Independent full-array comparisons, ownership map, tail fixtures and a floor-grid omission diagnosis. Keep the environment, observed outputs and your explanation of the figure.
Save your modified code, its output, and an explanation of your prediction. Checkpoint answers and exercise evidence are tracked separately.
Saved in this browser. Export or back up your portfolio anytime in My learning.
Reference execution: CPU validation only. This worked reference is validated on CPU. Accelerator compatibility requires a separate source review and target execution receipt. Use the execution matrix to review device selection and data ownership before adapting a separate target program. Execution matrix and target qualification.