diff options
author | bsegovia <devnull@localhost> | 2011-10-15 05:34:12 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-08-10 16:15:00 -0700 |
commit | 41cddc7d0032c533455fcd54d293cc4119b31698 (patch) | |
tree | 4b2c27e2c0d567d5a833416f44aa823f5ba38f5a /src/cl_context.c | |
parent | 185f1b529f5e618a7aec3be9b359127f774ef68a (diff) | |
download | beignet-41cddc7d0032c533455fcd54d293cc4119b31698.tar.gz |
Removed some useless code in cl_utils.h Started to implement support for samplers
Diffstat (limited to 'src/cl_context.c')
-rw-r--r-- | src/cl_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_context.c b/src/cl_context.c index 06fdd254..6dee7710 100644 --- a/src/cl_context.c +++ b/src/cl_context.c @@ -129,6 +129,7 @@ cl_context_new(void) pthread_mutex_init(&ctx->program_lock, NULL); pthread_mutex_init(&ctx->queue_lock, NULL); pthread_mutex_init(&ctx->buffer_lock, NULL); + pthread_mutex_init(&ctx->sampler_lock, NULL); exit: return ctx; |