blob: 60af2e9b3b92cc8b4cd9e09979a02251790a3d45 [file] [edit]
error: generic offload kernel `kernel` is not instantiated
--> $DIR/generic_kernel_not_instantiated.rs:15:1
|
LL | fn kernel<T: Copy>(x: T) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: with `-Zoffload=Device` (without a manifest), generic kernels are only discovered via monomorphization; if this kernel is called from host code, pass `-Zoffload=Device=<manifest>`, using the manifest written by `-Zoffload=HostMetadata=<manifest>`
error: aborting due to 1 previous error