OpenCL™规范 5.8.7.1. 库链接选项

5.8.7.1. Library Linking Options
5.8.7.1. 库链接选项

Library linking options are missing before version 1.2.

​1.2版本之前缺少库链接选项。

The following options can be specified when creating a library of compiled binaries.

在创建编译后的二进制文件库时,可以指定以下选项。

-create-library

Create a library of compiled binaries specified in input_programs argument to clLinkProgram.

​创建clLinkProgram的input_programs参数中指定的已编译二进制文件库。

-enable-link-options

Allows the linker to modify the library behavior based on one or more link options (described in Program Linking Options) when this library is linked with a program executable. This option must be specified with the create-library option.

​当此库与程序可执行文件链接时,允许链接器根据一个或多个链接选项(在“程序链接选项”中描述)修改库行为。此选项必须与创建库选项一起指定。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值