-
Notifications
You must be signed in to change notification settings - Fork 51
Description
I'm trying to upgrade the owl and optix versions in ExaBricks for some experience, I think I'm close to achieving this,however, a problem occurred after I modified the following code:
Change from
cuda_compile_and_embed( ptxCode programs/exabrick.cu )
to
embed_ptx( OUTPUT_TARGET ptxCode PTX_LINK_LIBRARIES owl::owl SOURCES exabrick.cu )
and I followed https://github.com/owl-project/owl/issues/136's suggestion, modified the variable for the ptx code to
extern "C" const char exabrick[];
when I build it, I got
[build] OptixRenderer.cpp.obj : error LNK2001: Unresolved external symbols exabrick.
Then I tried to check what's wrong with ptxCode by message(STATUS "PTX code embedded in target: ${ptxCode}") and the result is empty.
My environment:
cuda version: v12.6
optix 7.7
owl version: pull from master branch
device: rtx 4070ti
os: windows11
Could you give me some advice? Thanks a lot.