File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ macro(group_targets targets folder_name)
3232endmacro ()
3333
3434add_compile_definitions (NOS_DISABLE_DEPRECATED )
35- nos_find_plugin_sdk ("38.0 .0" NOS_PLUGIN_SDK_TARGET NOS_SDK_DIR )
35+ nos_find_plugin_sdk ("38.1 .0" NOS_PLUGIN_SDK_TARGET NOS_SDK_DIR )
3636
3737# Check for environment variable & cmake variable
3838if (NOT DEFINED CUDA_SDK_PATH)
Original file line number Diff line number Diff line change 22 "info": {
33 "id": {
44 "name": "nos.sys.cuda",
5- "version": "2.10.0 "
5+ "version": "2.10.1 "
66 },
77 "display_name": "CUDA Subsystem",
88 "description": "CUDA Subsystem for Nodos.",
Original file line number Diff line number Diff line change @@ -15,9 +15,11 @@ extern "C"
1515NOSAPI_ATTR nosResult NOSAPI_CALL nosExportPlugin (nosPluginFunctions* pluginFunctions)
1616{
1717 nos::cudass::Initialize (0 );
18- pluginFunctions->OnRequest = [](uint32_t minor, void ** outSubsystemCtx) -> nosResult {(*outSubsystemCtx) = new nosCUDASubsystem;
19- nos::cudass::Bind ((nosCUDASubsystem*)(*outSubsystemCtx));
20- return NOS_RESULT_SUCCESS; };
18+ pluginFunctions->OnRequestAPI = [](uint32_t minor, void ** outPluginAPI) -> nosResult {
19+ (*outPluginAPI) = new nosCUDASubsystem;
20+ nos::cudass::Bind ((nosCUDASubsystem*)(*outPluginAPI));
21+ return NOS_RESULT_SUCCESS;
22+ };
2123 // TODO: Garbage Collect on unload
2224
2325 return NOS_RESULT_SUCCESS;
You can’t perform that action at this time.
0 commit comments