diff --git a/Samples/cuDLAErrorReporting/Makefile b/Samples/cuDLAErrorReporting/Makefile
index 71e049eb..8ddbf387 100644
--- a/Samples/cuDLAErrorReporting/Makefile
+++ b/Samples/cuDLAErrorReporting/Makefile
@@ -1,5 +1,5 @@
################################################################################
-# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
+# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -346,6 +346,8 @@ endif
ALL_CCFLAGS += --std=c++11 --threads 0
+LIBRARIES += -lcudla
+
ifeq ($(SAMPLE_ENABLED),0)
EXEC ?= @echo "[@]"
endif
diff --git a/Samples/cuDLAErrorReporting/NsightEclipse.xml b/Samples/cuDLAErrorReporting/NsightEclipse.xml
index d614c6aa..aca221a7 100644
--- a/Samples/cuDLAErrorReporting/NsightEclipse.xml
+++ b/Samples/cuDLAErrorReporting/NsightEclipse.xml
@@ -22,6 +22,7 @@
CPP11
+ cudla
diff --git a/Samples/cuDLAErrorReporting/main.cu b/Samples/cuDLAErrorReporting/main.cu
index e50e09ed..b85d38a1 100644
--- a/Samples/cuDLAErrorReporting/main.cu
+++ b/Samples/cuDLAErrorReporting/main.cu
@@ -35,6 +35,8 @@
#include
#include
+#define DPRINTF(...) printf(__VA_ARGS__)
+
static void printTensorDesc(cudlaModuleTensorDescriptor* tensorDesc) {
DPRINTF("\tTENSOR NAME : %s\n", tensorDesc->name);
DPRINTF("\tsize: %lu\n", tensorDesc->size);
diff --git a/Samples/cuDLAHybridMode/Makefile b/Samples/cuDLAHybridMode/Makefile
index a8848e7f..e9434264 100644
--- a/Samples/cuDLAHybridMode/Makefile
+++ b/Samples/cuDLAHybridMode/Makefile
@@ -1,5 +1,5 @@
################################################################################
-# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
+# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -346,6 +346,8 @@ endif
ALL_CCFLAGS += --std=c++11 --threads 0
+LIBRARIES += -lcudla
+
ifeq ($(SAMPLE_ENABLED),0)
EXEC ?= @echo "[@]"
endif
diff --git a/Samples/cuDLAHybridMode/NsightEclipse.xml b/Samples/cuDLAHybridMode/NsightEclipse.xml
index 487351f5..000c724b 100644
--- a/Samples/cuDLAHybridMode/NsightEclipse.xml
+++ b/Samples/cuDLAHybridMode/NsightEclipse.xml
@@ -22,6 +22,7 @@
CPP11
+ cudla
diff --git a/Samples/cuDLAStandaloneMode/Makefile b/Samples/cuDLAStandaloneMode/Makefile
index af106f47..33ca7040 100644
--- a/Samples/cuDLAStandaloneMode/Makefile
+++ b/Samples/cuDLAStandaloneMode/Makefile
@@ -1,5 +1,5 @@
################################################################################
-# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
+# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -349,7 +349,7 @@ endif
ALL_CCFLAGS += --std=c++11 --threads 0
-LIBRARIES += -lnvscibuf -lnvscisync
+LIBRARIES += -lcudla -lnvscibuf -lnvscisync
ifeq ($(SAMPLE_ENABLED),0)
EXEC ?= @echo "[@]"
diff --git a/Samples/cuDLAStandaloneMode/NsightEclipse.xml b/Samples/cuDLAStandaloneMode/NsightEclipse.xml
index 98a72110..f240c752 100644
--- a/Samples/cuDLAStandaloneMode/NsightEclipse.xml
+++ b/Samples/cuDLAStandaloneMode/NsightEclipse.xml
@@ -22,6 +22,7 @@
CPP11
+ cudla
nvscibuf
nvscisync
diff --git a/Samples/cuDLAStandaloneMode/main.cpp b/Samples/cuDLAStandaloneMode/main.cpp
index 202f2499..7111ef6e 100644
--- a/Samples/cuDLAStandaloneMode/main.cpp
+++ b/Samples/cuDLAStandaloneMode/main.cpp
@@ -37,6 +37,8 @@
#include
#include
+#define DPRINTF(...) printf(__VA_ARGS__)
+
static void printTensorDesc(cudlaModuleTensorDescriptor* tensorDesc) {
DPRINTF("\tTENSOR NAME : %s\n", tensorDesc->name);
DPRINTF("\tsize: %lu\n", tensorDesc->size);