Skip to content

Commit

Permalink
[MINOR] More 0.2-rc2 improvements
Browse files Browse the repository at this point in the history
* DaphneLIB goes to src/api/python in release artifact
* Left a note in dnn-conv2d.daph example script that DNN ops only run on CUDA
  • Loading branch information
corepointer committed Jul 6, 2023
1 parent bcd7902 commit a9d8949
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ if [[ $? == 0 ]];then
mkdir -p "$PACK_ROOT/bin"
# shellcheck disable=SC2154
cp -a "$projectRoot"/{containers,deploy,doc,lib,scripts} "$PACK_ROOT"
mkdir -p "$PACK_ROOT"/{api,bin}
cp -a "$projectRoot"/src/api/python "$PACK_ROOT"/api/
mkdir -p "$PACK_ROOT"/{bin,src/api}
cp -a "$projectRoot"/src/api/python "$PACK_ROOT"/src/api/
cp -a "$projectRoot"/bin/{daphne,DistributedWorker} "$PACK_ROOT"/bin/
cp -a "$projectRoot"/run-*.sh "$PACK_ROOT"/
# this assumes that the pack script is run from an environment that has third party deps in /usr/local
Expand Down
4 changes: 4 additions & 0 deletions scripts/examples/dnn-conv2d.daph
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
* limitations under the License.
*/

# ---- !!! ----
# NOTE: This script uses DNN operations that DAPHNE can only provide via CUDA (e.g., GPU support required)


msec_factor = as.f32(0.000001);

# num images
Expand Down

0 comments on commit a9d8949

Please sign in to comment.