You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function generate.tag_source returns a unique string associated with the source code for the model. Use this rather than time stamps to determine if the model needs to be recompiled. Remove all the time stamp comparison code since it is complicated and error prone.
Precompiled models that are supplied with the windows installer will need to include the tag, which may complicate the installer. Are precompiled models needed given that !SasView ships with tinycc?
OpenCL kernels already use the tag for testing if a recompile is needed. It also check timestamps, so kernelcl.py should also be updated.
In practice, this issue will only be a problem for users that don't have OpenCL but are making their own versions of models with the same name as the builtin model, and still want to run the builtin model. Currently, the most recently changed source will win.
{
"status": "assigned",
"changetime": "2018-02-13T02:29:31",
"_ts": "2018-02-13 02:29:31.442888+00:00",
"description": "The function `generate.tag_source` returns a unique string associated with the source code for the model. Use this rather than time stamps to determine if the model needs to be recompiled. Remove all the time stamp comparison code since it is complicated and error prone.\n\nPrecompiled models that are supplied with the windows installer will need to include the tag, which may complicate the installer. Are precompiled models needed given that !SasView ships with tinycc?\n\nOpenCL kernels already use the tag for testing if a recompile is needed. It also check timestamps, so kernelcl.py should also be updated.\n\nIn practice, this issue will only be a problem for users that don't have OpenCL but are making their own versions of models with the same name as the builtin model, and still want to run the builtin model. Currently, the most recently changed source will win.\n\n",
"reporter": "pkienzle",
"cc": "",
"resolution": "",
"workpackage": "SasView Bug Fixing",
"time": "2016-10-16T20:57:38",
"component": "SasView",
"summary": "models with the same name in different directories will not be distinguished",
"priority": "minor",
"keywords": "",
"milestone": "SasView 4.3.0",
"owner": "butler",
"type": "defect"
}
The text was updated successfully, but these errors were encountered:
The function
generate.tag_source
returns a unique string associated with the source code for the model. Use this rather than time stamps to determine if the model needs to be recompiled. Remove all the time stamp comparison code since it is complicated and error prone.Precompiled models that are supplied with the windows installer will need to include the tag, which may complicate the installer. Are precompiled models needed given that !SasView ships with tinycc?
OpenCL kernels already use the tag for testing if a recompile is needed. It also check timestamps, so kernelcl.py should also be updated.
In practice, this issue will only be a problem for users that don't have OpenCL but are making their own versions of models with the same name as the builtin model, and still want to run the builtin model. Currently, the most recently changed source will win.
Migrated from http://trac.sasview.org/ticket/787
The text was updated successfully, but these errors were encountered: