Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion doc/fluid/design/muti_devices/kernel_hint_design.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Problem
# Kernel Hint Design

## Problem
In PaddlePaddle's [Design](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/design/switch_kernel.md), one Operator may have multiple kernels. Users may have some personal preference to choose a certain type of kernel for an operator, such as `force_cpu` to choose a CPU kernel, `use_cudnn` to choose a CUDNN kernel, we need to provide a way for users to do this.

In the current design, we use KernelType to describe one kernel.
Expand Down
4 changes: 3 additions & 1 deletion doc/fluid/design/muti_devices/kernel_selection.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Background
# Kernel Selection

## Background
Every operator has many kernels because there are multiple data types, places, data layout, library type that Fluid supports. We use the `OpKernelType ` to describe kernel types that operators can hold.

The `OpKernelType ` is as follows:
Expand Down