- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
长话短说,我在使用OpenCL库的Windows 10上使用darktable。暗表在后台将使用OpenCL编译器来编译内核(更多细节是https://github.com/darktable-org/darktable/issues/3717)。不幸的是我遇到了错误
C:\Program Files\darktable\bin>darktable-cltest.exe
0.094021 [opencl_init] opencl related configuration options:
0.096021 [opencl_init]
0.097022 [opencl_init] opencl: 1
0.099022 [opencl_init] opencl_library: ''
0.100022 [opencl_init] opencl_memory_requirement: 768
0.101022 [opencl_init] opencl_memory_headroom: 300
0.104022 [opencl_init] opencl_device_priority: '*/!0,*/*/*'
0.106024 [opencl_init] opencl_mandatory_timeout: 200
0.108024 [opencl_init] opencl_size_roundup: 16
0.110025 [opencl_init] opencl_async_pixelpipe: 0
0.111024 [opencl_init] opencl_synch_cache: 0
0.113025 [opencl_init] opencl_number_event_handles: 25
0.114025 [opencl_init] opencl_micro_nap: 1000
0.115025 [opencl_init] opencl_use_pinned_memory: 0
0.116025 [opencl_init] opencl_use_cpu_devices: 0
0.117026 [opencl_init] opencl_avoid_atomics: 0
0.119027 [opencl_init]
0.120026 [opencl_init] found opencl runtime library 'OpenCL.dll'
0.123027 [opencl_init] opencl library 'OpenCL.dll' found on your system and loaded
0.192043 [opencl_init] found 1 platform
0.194043 [opencl_init] found 1 device
0.195044 [opencl_init] device 0 `Ellesmere' supports image sizes of 16384 x 16384
0.198044 [opencl_init] device 0 `Ellesmere' allows GPU memory allocations of up to 4048MB
[opencl_init] device 0: Ellesmere
GLOBAL_MEM_SIZE: 8192MB
MAX_WORK_GROUP_SIZE: 256
MAX_WORK_ITEM_DIMENSIONS: 3
MAX_WORK_ITEM_SIZES: [ 1024 1024 1024 ]
DRIVER_VERSION: 2906.10
DEVICE_VERSION: OpenCL 2.0 AMD-APP (2906.10)
0.450101 [opencl_init] options for OpenCL compiler: -cl-mad-enable -DAMD=1 -I"C:\Program Files\darktable\share\darktable\kernels"
0.455102 [opencl_init] compiling program `demosaic_ppg.cl' ..
0.457103 [opencl_load_program] loaded cached binary program from file `C:\Users\Hardy\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_kernels_for_Ellesmere\demosaic_ppg.cl.bin'
0.464104 [opencl_load_program] successfully loaded program from `C:\Program Files\darktable\share\darktable\kernels\demosaic_ppg.cl'
0.469105 [opencl_build_program] could not build program: -11
0.471105 [opencl_build_program] BUILD STATUS: -2
0.473106 BUILD LOG:
0.474106 Error: The binary is incorrect or incomplete. Finalization to ISA couldn't be performed.
0.478107 [opencl_init] failed to compile program `demosaic_ppg.cl'!
0.480107 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
0.482108 [opencl_init] initial status of opencl enabled flag is OFF.
press any key to exit
最佳答案
这不是环境问题,而是缓存问题。
Darktable缓存会编译OpenCL内核,然后在下一次尝试加载它们时加快速度。不幸的是,由于某种原因,您拥有的缓存对于您的设备而言是不正确的(也许您更新了系统/驱动程序/某些内容,而blacktable错过了它)。您需要清除Darktable内核缓存。从日志看来,它在以下目录中:
C:\Users\Hardy\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_kernels_for_Ellesmere
关于compiler-errors - OpenCL编译器对Windows 10用户配置文件敏感吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59277710/
我这里有一些(遗留)代码,似乎在LD_LIBRARY_PATH上调用setenv(其值在编译时未知,实际上它将从命令中获取)行),现在我必须将其移植到 Windows。我怀疑 setenv 只是出于历
我在 SSIS 包上有一个敏感字符串参数,用于存储远程服务器的密码。 但是,当字符串值包含花括号时,作业代理会在配置该步骤的包参数时抛出错误: Microsoft SQL Server Managem
我们都非常了解 strictfp 的工作原理。 像这样: package com.hk.basicjava.tests.strictfp; import java.util.*; public cla
我正在对我的博客进行简单搜索。我使用亚美尼亚语,当我搜索时,这些字母总是很敏感。这是我的代码的一部分。提前谢谢你。 search_query = get.get('search') query_lis
我正在对我的博客进行简单搜索。我使用亚美尼亚语,当我搜索时,这些字母总是很敏感。这是我的代码的一部分。提前谢谢你。 search_query = get.get('search') query_lis
想象一下这个非常基本的可拖放设置: #dropArea 是可放置的。 #itemBox > .item 是可拖动对象。 由于某种原因,droppable
我有这样的网址: http://quickstart.local/public/category1/product2 并且在 url (category1/product2) 数字是 id ,从数据库
我是一名优秀的程序员,十分优秀!